-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Closed as not planned
Closed as not planned
Copy link
Labels
Description
I'm using React Router as a...
library
Reproduction
Bug Report
reproduction
- click "a" -> shows "unauthorized"
- click "b" -> shows "B Content"
- click "home" -> shows "Home"
all good. 👍
- click "a"
- click "set authorized"
simulates a deferred authorization that influences how routes are displayed.
expected: "unauthorized" changes to "A Content"
actual: "unauthorized" stays - navigate to "home" and back to "a":
"A Content" is shown
This worked with 6.22 but did not anymore when we upgraded to 6.30.
Still existing after upgrade to v7
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 18.20.3 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.2.3 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
@react-router/dev: * => 7.4.0
@react-router/node: * => 7.4.0
@react-router/serve: * => 7.4.0
react-router: * => 7.4.0
vite: ^6.0.11 => 6.2.2Used Package Manager
npm
Expected Behavior
see reproduction
Actual Behavior
see reproduction