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
We revised prefetch: true to be prefetch: 'mount", but kept the comparison to === true in the useEffect. I believe this makes the mount behavior only fire when true is passed, but that can never happen since === true is changed to 'mount' in the deprecation conditional:
We revised
prefetch: true
to beprefetch: 'mount"
, but kept the comparison to=== true
in theuseEffect
. I believe this makes the mount behavior only fire whentrue
is passed, but that can never happen since=== true
is changed to'mount'
in the deprecation conditional:navi/packages/react-navi/src/Link.tsx
Lines 111 to 125 in 137a81f
Where mount prefetch happens:
navi/packages/react-navi/src/Link.tsx
Lines 176 to 180 in 137a81f
The text was updated successfully, but these errors were encountered: