You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since moving from React Lazy and Suspense to the data route config, my page transitions are very jerky, with lots of flickering and flashing that was previously absent.
Is there anything I can do to smooth the page transitions, I cannot use the refactored code, it is an awful user experience.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I refactored my app to use the route config and the
lazy
prop after reading this post.My routes now look like this:
Previously, I used a combination of react lazy, Suspense and jsx routing, a bit like this
Since moving from React Lazy and Suspense to the data route config, my page transitions are very jerky, with lots of flickering and flashing that was previously absent.
Is there anything I can do to smooth the page transitions, I cannot use the refactored code, it is an awful user experience.
Beta Was this translation helpful? Give feedback.
All reactions