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
Hello.
I dynamically imported the code for page components through React.lazy, and I handled page switching by activating the v7_startTransition option to prevent flicker between page switching.
The problem is that the flicker phenomenon between page switches could be prevented, but there is no way to make additional configurations such as loading spinners. Is there a way to get react-router-dom internally managed isPending (such as the first useTransition return value..) when the v7_startTransition option is set?
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.
-
Hello.
I dynamically imported the code for page components through
React.lazy
, and I handled page switching by activating thev7_startTransition
option to prevent flicker between page switching.The problem is that the flicker phenomenon between page switches could be prevented, but there is no way to make additional configurations such as loading spinners. Is there a way to get
react-router-dom
internally managed isPending (such as the first useTransition return value..) when thev7_startTransition
option is set?Beta Was this translation helpful? Give feedback.
All reactions