Less framework, fewer headaches
Jeasx keeps its core small: async JSX, file-based routing and little else. Everything beyond that is plain code you own and can adapt. These examples show how.
JSX with Ease
Render pages on the server with async JSX, and run the same components in the browser when you need to.
Browse examplesVisit jeasx.dev
Jeasx keeps its core small: async JSX, file-based routing and little else. Everything beyond that is plain code you own and can adapt. These examples show how.
All examples are on GitHub. Clone the repository, run them locally and change the code freely. Every example links to its source in the top right corner.
Jeasx turns JSX into HTML with jsx-async-runtime. It feels like React, but components can be async and simply await data before rendering, on the server and in the browser.
JSX on the server, where every component returns HTML: what JSX can render, context instead of prop drilling, slots, component caching, global HTML tweaks, web components and unit tests.
Show what's ready right away and stream slower parts as they arrive: parallel loading, out-of-order placeholders, lazy loading, async iterables and ReadableStreams.
The same JSX runs on server and browser: a fast server-rendered first page, then client-side re-rendering without virtual DOM or hydration. Turn off JavaScript and they still work.
jsx-async-runtime also renders in the browser: data-fetching components, live feeds and small games, all without a big frontend framework.
Jeasx is a complete framework for real websites: pages and forms, images, PDFs and emails, live updates, security and error handling.
Classic server-rendered sites like a blog, product catalog, MDX cookbook and booking form. They work without JavaScript and get progressively enhanced when it's available.
A route is just a function answering a request: generate SVG, emails, PDFs and preview images, process uploads, and push live updates via Server-Sent Events or WebSockets.
Ready for production: login and sessions, signed cookies, Content Security Policy, bot protection, rate limiting, error boundaries and post-processing of the final HTML.
No plugins or adapters needed: connect HTMX, React, Vue or Svelte yourself with a few lines of plain code.
HTMX adds interactivity with HTML attributes by swapping in HTML snippets from the server, which any Jeasx route can return. Patterns include inline editing, active search and infinite scroll.
Keep using your favorite framework for small interactive islands on otherwise static server-rendered pages, set up in plain code, even mixed on one page.