-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Description
Reproduction
Reproduction is in the fork of template repo https://github.com/hi-ogawa/react-router-templates/tree/chore-repro-loader-canary. React canary is configured in pnpm-workspace.yaml
overrides. loader
is added in unstable_rsc-parcel/src/routes/home/route.tsx
and unstable_rsc-vite/src/routes/home/route.tsx
Both on Parcel and Vite, a request gets stuck when accessing a home page.
# access http://localhost:3000
pnpm -C unstable_rsc-parcel/ dev
# access http://localhost:5173/
pnpm -C unstable_rsc-vite/ dev
I added CI for canary/experimental channels on @vitejs/plugin-rsc
vitejs/vite-plugin-react#630 and noticed react router example is not working. I'm not sure if you plan to support non stable channels, but I thought I'd raise it here in case you are interested.
It's quite awkward but @vitejs/plugin-rsc
's canary/experimental build can be found here vitejs/vite-plugin-react#524 if you want to test it out.
It looks like this is dev only. Maybe it's a React bug?
System Info
System:
OS: Linux 6.14 Arch Linux
CPU: (16) x64 12th Gen Intel(R) Core(TM) i7-12650H
Memory: 23.19 GB / 31.05 GB
Container: Yes
Shell: 5.2.37 - /usr/bin/bash
Binaries:
Node: 22.14.0 - ~/.volta/tools/image/node/22.14.0/bin/node
Yarn: 1.22.22 - ~/.volta/tools/image/node/22.14.0/bin/yarn
npm: 10.9.2 - ~/.volta/tools/image/node/22.14.0/bin/npm
pnpm: 10.13.1 - ~/.volta/tools/image/node/22.14.0/bin/pnpm
bun: 1.2.18 - ~/.local/bin/bun
Browsers:
Brave Browser: 137.1.79.119
Chromium: 136.0.7103.113
npmPackages:
react-router: 7.7.0 => 7.7.0
vite: ^6.3.5 => 6.3.5
Used Package Manager
pnpm
Expected Behavior
Loader works
Actual Behavior
Loader doesn't work