vite-plugin-react icon indicating copy to clipboard operation
vite-plugin-react copied to clipboard

perf(rsc): use `srvx/node` in dev

Open pi0 opened this issue 1 month ago • 1 comments

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, ...)

pi0 avatar Nov 05 '25 10:11 pi0

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.

hi-ogawa avatar Nov 06 '25 00:11 hi-ogawa

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.

pi0 avatar Dec 11 '25 09:12 pi0