Skip to content

gabrielcsapo/vite-rsc-actions-example-payload

Repository files navigation

rsc react-router

https://vite-rsc-react-router.hiro18181.workers.dev

Note

React Router now provides official RSC support for Vite. The example might not be kept up to date with the latest version. Please refer to React Router's official documentation for the latest integrations.

Vite RSC example based on demo made by React router team with Parcel:

See also rsc-movies.

Open in StackBlitz

Or try it locally by:

npx giget gh:vitejs/vite-plugin-react/packages/plugin-rsc/examples/react-router my-app
cd my-app
npm i
npm run dev
npm run build
npm run preview

# run on @cloudflare/vite-plugin and deploy.
# a separate configuration is found in ./cf/vite.config.ts
npm run cf-dev
npm run cf-build
npm run cf-preview
npm run cf-release

About

example of vite-react rsc payload size bloat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published