Installation

reactolith is published on npm. Install it alongside React and React DOM.

Install the package

npm install reactolith

Install peer dependencies

react and react-dom are peer dependencies — install them in your project too.

npm install react react-dom

Requirements

  • Node 18 or newer
  • React 19
  • A bundler that supports import.meta.glob (Vite, Rspack, …) is recommended for the loader workflow

Verify the install

import { App } from "reactolith"; console.log(typeof App); // "function"

Continue with the Quick Start to mount your first app. For a deployment-time tuning step, see Chunk Preloading — how to feed your bundler's build manifest into modulepreload hints so the browser can fetch component chunks in parallel with parsing.