Replies: 1 comment 1 reply
-
You can use the useNavigation hook to know a navigation is pending and render a pending ui, but route navigation is not using suspense right now so you can't use Suspense for that. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello,
I've noticed that remix blocks navigation until the code for nested route is loaded. Is there a way to somehow defer lazy-loaded code and immediately show suspense fallback similar to how we can defer loader's data? I tried wrapping
<Outlet/>
with suspense but that doesn't seem to workThanks in advance for any tips
here is a minimal repro: https://github.com/misha-erm/remix-nav-block-report
Screen.Recording.2024-08-16.at.17.01.41.mov
Beta Was this translation helpful? Give feedback.
All reactions