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 renders JSX with jsx-async-runtime: async components, streaming, and the same components on the server and in the browser.
Everything jsx-async-runtime renders on the server: promises, iterables and other values as children, render props, request context via 'this', overriding how JSX turns into HTML, Declarative Shadow DOM and unit tests for components.
Async components don't block the page: jsx-async-runtime streams HTML as soon as it is ready, in order, in parallel or out of order, from async iterables or a ReadableStream.
The server renders the first page, then the browser re-renders the same JSX components after every click, without React, a virtual DOM or hydration. Without JavaScript, every app keeps working with plain HTML forms.
Render JSX right in the browser with jsx-async-runtime: async components which fetch their own data, live feeds, streamed async trees, and games which render every frame.
Websites, apps, images, PDFs and emails, secured and ready to ship.
Render pages on the server with content from a remote API, JSON data or Markdown with MDX, and build multi-step forms with plain HTML. No client-side JavaScript needed: view transitions make page changes feel smooth.
Routes aren't limited to HTML: they can return images, SVG, JSON, XML, PDF, a live stream of Server-Sent Events, a WebSocket or any other content type.
Protect routes with basic auth or sessions, sign cookies, block injected scripts stop bots with a proof-of-work captcha and rate-limit APIs. Catch errors, manage the head and transform the final HTML before it is sent to the browser.
No plugins, no adapters: HTMX, React, Vue, Svelte and friends, wired up in plain code you own.
Every Jeasx route can return an HTML fragment, so hypermedia libraries like HTMX can update parts of a page with markup rendered on the server.
Add islands of interactivity to server-rendered pages with the JavaScript library or framework you already know.