vite-plugin-react
vite-plugin-react copied to clipboard
perf(rsc): use `srvx/node` in dev
Description
This PR migrates plugin-rsc to use srvx/node in dev mode for fetch=>node handler compatibility.
srvx perf is almost close to native and adopted by several projects (h3, nitro, nuxi, elysia, tanstack start, vercube, ...)
Thanks for PR. Some tests are failing. I'm not sure yet whether this is due to srvx or something inherent on our test suites.
Cool, now tests are passing 😄 The Issue was with the abort signal firing now we do it similar to Bun. If you run tests with Deno (native server) i guess they would fail.