Upgrade to Vue 3 when it becomes more stable. #995

Closed
opened 2020-11-03 20:41:23 +00:00 by hj · 2 comments
Owner

One of the most notable features of vue3 is proper portal/teleport support which doesn't re-render portal contents on each change.
Another is Composition API which we can hopefully use to get rid of HOCs.

There's an exploratory branch "vue3" with some initial attempts to use vue3.

vue-chat-scroll dependency could be problematic and we might need to rewrite it...

One of the most notable features of vue3 is proper portal/teleport support which doesn't re-render portal contents on each change. Another is Composition API which we can hopefully use to get rid of HOCs. There's an exploratory branch "vue3" with some initial attempts to use vue3. vue-chat-scroll dependency could be problematic and we might need to rewrite it...
Member

I may look into converting from Vuex to Pinia since that seems to be Vue 3's new recommendation for state management: https://v3-migration.vuejs.org/recommendations.html#state-management

And thankfully, there is a guide on migration. So, I'm hoping this goes smoothly. But I cannot guarantee this will be an easy task. https://pinia.vuejs.org/cookbook/migration-vuex.html

I may look into converting from Vuex to Pinia since that seems to be Vue 3's new recommendation for state management: https://v3-migration.vuejs.org/recommendations.html#state-management And thankfully, there is a guide on migration. So, I'm hoping this goes smoothly. But I cannot guarantee this will be an easy task. https://pinia.vuejs.org/cookbook/migration-vuex.html
Author
Owner

yeah, but it is a lot of work, plus we should really refactor our stores.

for pinia - make another issue, as this one is essentially done.

yeah, but it is a lot of work, plus we should really refactor our stores. for pinia - make another issue, as this one is essentially done.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#995
No description provided.