NextJS better way to handle navigation #5535
TheCodeDestroyer
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There seem to be a lot of issues with Tabs, Listbox, and some other components not respecting the navigation prop. It gets fixed, and after some versions, the issue comes back. I have seen this issue specifically with Tabs a year ago, then in v2.8 canary, which was fixed in some canary version. Now, in v2.8.1, it doesn't work again for Tabs.
Also, using push to navigate seems to remove some benefits that the NextJS Link component brings, like prefetching of routes. Would it maybe make sense to rethink HeroUIProvider and perhaps give us an option to provide a base anchor component instead of the navigate prop?
There are a lot of issues with this problem that keep coming back:
Beta Was this translation helpful? Give feedback.
All reactions