Use new replace
instead of <Navigate>
for route replace navs
#2352
Labels
replace
instead of <Navigate>
for route replace navs
#2352
We have a few of these and they've never felt quite right. Now we can do them slightly earlier in the render cycle with
loader={() => replace('/path')}
thanks to remix-run/react-router#11811.console/app/routes.tsx
Lines 215 to 218 in 07b6c15
The text was updated successfully, but these errors were encountered: