Data Loading with Prefetch and UI skeleton
Currently, upon clicking a link the route is updated in the URL and a loading indicator is displayed until loader is resolved.
I just want to show something to user as soon as they click. I think this provides much smoother UX.
I would still like to use loader (with prefetch enabled) but show some static text /UI skeleton placeholders in the route page while data is resolved in the background and available in react query.
Did any one figure this out yet?
I just want to show something to user as soon as they click. I think this provides much smoother UX.
I would still like to use loader (with prefetch enabled) but show some static text /UI skeleton placeholders in the route page while data is resolved in the background and available in react query.
Did any one figure this out yet?