GreenJS combines esbuild, Go, and prerendering into a great developer experience for React users.
Iterate without reading our docs, the GreenJS <Router>
and <Link>
elements are already familiar to most React developers.
GreenJS is written entirely in Go, and uses esbuild to finish builds in milliseconds instead of minutes.
The GreenJS production webserver can act as a proxy to forward traffic to an existing site effortlessly.
Instead of using complex file-based routing, use routes directly within React to define pages. GreenJS comes with drop-in replacements for react-helmet, react-router and react-dom.
At build-time, we’ll discover all of your routes. We’ll use a headless browser to visit all of your pages and run your React code. The resulting pages will be saved as HTML.
GreenJS automatically emits a high performance webserver in the dist folder to distribute the entire application with ease.