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
I'm aware that v7_startTransition is behind a future flag, and I understand that unsetting the flag should solve my issue. However, I generally want the behavior of the flag between most of the page transitions (since that provides a smoother experience), while being able to conditionally opt out of it (to make useRevalidator().revalidate() trigger fallbacks in my case). Do you have any ideas to achieve this? At least adding an option to .revalidate() for disabling the transition would solve my usecase, but I'm not sure that's widely adoptable across all router state operations.
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
-
I'm aware that
v7_startTransition
is behind a future flag, and I understand that unsetting the flag should solve my issue. However, I generally want the behavior of the flag between most of the page transitions (since that provides a smoother experience), while being able to conditionally opt out of it (to makeuseRevalidator().revalidate()
trigger fallbacks in my case). Do you have any ideas to achieve this? At least adding an option to.revalidate()
for disabling the transition would solve my usecase, but I'm not sure that's widely adoptable across all router state operations.Beta Was this translation helpful? Give feedback.
All reactions