Fastify DX is a collection of @fastify/vite renderers, allowing you to serve static or live (SSR) Vue and React applications (support for Svelte and Solid coming soon). Each renderer includes an extensible base application provided as virtual modules, implementing automatic serialization, hydration, universal routing, data fetching and global state management. They all follow the URMA specification.
Packages
Currently Node v16+, Fastify v4 and Vite v3 are supported.
@fastify/vue
@fastify/vue features Vue v3 support via @vitejs/plugin-vue with:
- Vue Router for universal routing;
- Vue's own
reactive()
primitive for global state management.
👉 Starter template
👉 Documentation
@fastify/react
@fastify/react features React v18 support via @vitejs/plugin-react with:
- React Router for universal routing
- Valtio for global state management.
👉 Starter template
👉 Documentation
Status
Fastify DX is currently in beta.
Meta
Created by Jonas Galvez, Principal Engineer and Open Sourcerer at NodeSource.
Gold Sponsors
Contact me to add your company's logo here.
GitHub Sponsors
Click here to add your name to this list.
Thank you!