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
It can replace the current useViewTransition hook in Rspress, and this should fix the current runtime error logs when using themeConfig.enableContentAnimation:
What does the proposed API look like?
Using the viewTransition prop
The React Router document also notes that viewTransition only works when using a data router, see Picking a Router.
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
Since React Router 6.27.0, using View Transition API requires only adding viewTransition prop to Link component:
It can replace the current
useViewTransition
hook in Rspress, and this should fix the current runtime error logs when usingthemeConfig.enableContentAnimation
:What does the proposed API look like?
viewTransition
propviewTransition
only works when using a data router, see Picking a Router.The text was updated successfully, but these errors were encountered: