Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add upgrade information for Pinia migration #1677

Merged
merged 2 commits into from
Jan 31, 2025

Conversation

tajespasarela
Copy link
Contributor

@tajespasarela tajespasarela commented Jan 27, 2025

This PR adds information about the migration from Vuex to Pinia and explains how to proceed.

@tajespasarela tajespasarela self-assigned this Jan 27, 2025
@tajespasarela tajespasarela force-pushed the next-40449/add-upgrade-doc-for-pinia branch 6 times, most recently from 6e5322a to 29be204 Compare January 27, 2025 15:52
Copy link
Contributor

@jleifeld jleifeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good. The only thing I'm thinking about is explaining the case how to implement the composables outside the store (which are then added again into a store) so that they are directly accessible even when Pinia isn't initialized yet.
This could be useful especially for internal developer

@tajespasarela tajespasarela force-pushed the next-40449/add-upgrade-doc-for-pinia branch 3 times, most recently from 823612b to a9de0c5 Compare January 28, 2025 07:40
@tajespasarela tajespasarela force-pushed the next-40449/add-upgrade-doc-for-pinia branch from a9de0c5 to e25a1bb Compare January 28, 2025 07:42
@tajespasarela
Copy link
Contributor Author

Looks really good. The only thing I'm thinking about is explaining the case how to implement the composables outside the store (which are then added again into a store) so that they are directly accessible even when Pinia isn't initialized yet. This could be useful especially for internal developer

@jleifeld done!

@Isengo1989 Isengo1989 self-requested a review January 28, 2025 09:00
Copy link
Collaborator

@Isengo1989 Isengo1989 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for the PR 🎉

Adjusted (see last commit) the structure a little and removed unnecessary "Example" li items. Makes it easier to link if questions appear.

image

@Isengo1989
Copy link
Collaborator

@tajespasarela should this be merged already or tagged for milestone 6.7 ?

@Isengo1989 Isengo1989 merged commit cb77fb7 into main Jan 31, 2025
8 checks passed
@Isengo1989 Isengo1989 deleted the next-40449/add-upgrade-doc-for-pinia branch January 31, 2025 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants