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
{{ message }}
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.
Partly, the inconsistency is also coming from @tanstack/history's location.pathname, so it's worth investigating.
OK, so this line has pathname = /contacts/kent%20c.-dodds on initial render, but has /contacts/kent c.-dodds on client side navigation (i.e. history.push).
I thought this would be fixed by
but, it looks like it has more things to consider (like react router PR has indicated the complexity already remix-run/react-router#9477).
For this page https://react-server-demo-remix-tutorial.hiro18181.workers.dev/contacts/kent%20c.-dodds, initial render misses
NavLink
highlight, but after client side navigation, it gets right.Partly, the inconsistency is also coming from
@tanstack/history
's location.pathname, so it's worth investigating.OK, so this line has
pathname = /contacts/kent%20c.-dodds
on initial render, but has/contacts/kent c.-dodds
on client side navigation (i.e.history.push
).react-server-demo-remix-tutorial/src/routes/_client.tsx
Lines 5 to 6 in 970b2b3
The same issue might repro on tanstack router?
The text was updated successfully, but these errors were encountered: