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

docs(migration): provide guidance on using the new reactive currentRoute #1976

Merged
merged 4 commits into from
Aug 30, 2023

Conversation

arggrande
Copy link
Contributor

Howdy folks,

Just raising this PR to add some extra guidance on the currentRoute object being changed to a reactive object in vue-router v4. We got a little tripped up on this during our migration to Vue 3/Vue-Router 4 as I couldn't find any docs that explicitly mentioned this change, and how it may impact code accessing router information from outside a Vue template.

I'm hoping the place I've put it in is ok, but if its not, let me know and I'm happy to change it :)

Cheers,
Adam

@netlify
Copy link

netlify bot commented Aug 30, 2023

Deploy Preview for vue-router ready!

Name Link
🔨 Latest commit 8263f33
🔍 Latest deploy log https://app.netlify.com/sites/vue-router/deploys/64eeffb7a8062400081990ac
😎 Deploy Preview https://deploy-preview-1976--vue-router.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

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

Thanks! Useful tips

@posva posva merged commit 42896cb into vuejs:main Aug 30, 2023
@arggrande arggrande deleted the docs-guidance-current-route branch August 30, 2023 23:16
niceplugin added a commit to niceplugin/Vuejs-Router-KO that referenced this pull request Sep 17, 2023
niceplugin added a commit to niceplugin/Vuejs-Router-KO that referenced this pull request Sep 17, 2023
* docs(migration): router.currentRoute (vuejs#1976)

* docs: link to current Apache configuration (vuejs#1979)

* docs: remove metrics
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.

2 participants