Unable to naviagate to nested route (routify v3)
See original GitHub issueFirst rule of bug posting There are no rules!
With that out of the way, there are a few things that might help us help you faster. You pick and choose what you think is relevant.
bug description
It doesn’t work as expected when navigating to community/[id]
with $goto
.
If you see the below recorded clip, when pressing Feeds
button, it calls $goto($url('/community/[id]/settings', {id: '1234'}))'
for testing but redirects to different url.
However, when I type the actual URL from the browser, it navigates correctly (in localhost but not in production).
package.json The script section or even just the script you’re running.
yarn dev
version
"@roxi/routify": "^3.0.0-next.69",
screenshot I’ve posted clip above.
The source code is in https://github.com/wecount-dev/wecount
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:23 (8 by maintainers)
Top Results From Across the Web
Help needed for nested route scope (Tab functionality) #355
I am having some issues getting the "scope" of a nested route to update when the URL of the route changes when using...
Read more >Helpers - Routify
Absolute, relative or named path. params. type: {Object} (default value: {} ). Parameters to be parsed to the URL ...
Read more >relative path of image gets affected by nested routes in routify
I have a nested route in routify with the below folder structure, where the image is placed in public folder and referred here...
Read more >Handle Svelte routes with Routify? - Ashutosh Kukreti
The routing allows the application to render the content based on the URL. For Ex- • GET /user returns the list of all...
Read more >svelte-navigator - npm Package Health Analysis - Snyk
Simple, accessible routing for Svelte For more information about how to use this ... 2.0.3 ... scoped paths in navigate with useNavigate ,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can you confirm that changing this
to
fixes it.
I finally found out the problem. It was this commit https://github.com/wecount-dev/wecount/pull/123/commits/d33d1173f779a9194df9613b65afaebc775484df.
Removing
<!-- routify:meta bundle -->
finally worked and @jakobrosenberg your solution was correct.Thank you so much!