Getting Started
What is ReactJust?
ReactJust is a Vite plugin that enables the use of React Server Components (server components and server functions) without relying on a full framework.
Early development
ReactJust is in early development and does not yet support the 'use server'
directive. Support is planned for release by mid June 2025.
Try It Out Online
Run it directly in your browser. Explore the project's files to understand how it works. You can try the JavaScript version below, but we recommend opening it in a separate tab using the following links for JavaScript or TypeScript.
start
command may not work on StackBlitz
The start command may not work on StackBlitz, but it works correctly in a local environment.
Start From Template
Start from a template for JavaScript or TypeScript. Replace my-project
with your desired directory name.
JavaScript
$ npx degit almadoro/react-just/templates/node-js my-project
$ pnpm dlx degit almadoro/react-just/templates/node-js my-project
$ bunx degit almadoro/react-just/templates/node-js my-project
TypeScript
$ npx degit almadoro/react-just/templates/node-ts my-project
$ pnpm dlx degit almadoro/react-just/templates/node-ts my-project
$ bunx degit almadoro/react-just/templates/node-ts my-project
Manual Setup
If you prefer to set up your project manually, go to the Manual Setup page.