Skip to content

Conversation

johannschopplich
Copy link

@johannschopplich johannschopplich commented Sep 21, 2023

Hi there!

I finally migrated my Vue Ionic app to Nuxt. Most of the Vite configuration like setting up auto-imports etc. can be thrown away. Nuxt does so much out of the box, even in non-SSR mode. Thanks a lot for Nuxt as well as this plugin! Finally, I can use suspense routes in the Ionic setup. A dream come true.

But I ran into a problem: Navigating between routes (not using any tabs at all) using different page components doesn't update the route state. I investigate the issue and found:

if (to.matched[0]?.components?.default === from.matched[0]?.components?.default) {}

Why do you guard the route sync to the same component only? I'm not sure if I follow. Can't we sync the current route no matter what? What do you think? It fixed my stale route state issue.

No minimal reproducible example provided. If you need one, please drop me a line.

@netlify
Copy link

netlify bot commented Sep 21, 2023

Deploy Preview for friendly-lamington-fb5690 canceled.

Name Link
🔨 Latest commit 43b118f
🔍 Latest deploy log https://app.netlify.com/sites/friendly-lamington-fb5690/deploys/650bfdd861e1760008a1bf3b

@danielroe danielroe self-requested a review as a code owner May 19, 2024 20:11
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.

1 participant