Quick Start
Want to get started quickly with React. We got you.
Last updated
Want to get started quickly with React. We got you.
Last updated
Reactium requires a minimum of Node 18 LTS (Recommended), and supports up to Node 20.
Before we get into the multitude of pieces and uses of the whole platform, let's get into the easiest and fastest way to get started. If you just want to feel the instant power of the first major and important piece of the platform you can get up and going very quickly with the Reactium App Foundation.
To just use reactium
instead of npx reactium
, install it globally with:
npm install -g reactium
Great! Now you've got Reactium installed!
Much like other popular React application creators, Reactium already has a lot of the local development environment taken care of. With a single npm script, you'll be compiling modern React javascript and Sassy CSS into a routable Node/Express application.
If you did everything correctly, you will see the reactium.io website appear in an iframe.
Before we go further, let's remove the Welcome React component.
Now the root of route should just be a blank page.
By default, the node/express server will listen on port 3030 and 3000 (Express and BrowserSync respectively). Your default browser should automatically open to http://localhost:3000 for you.
You can manually create React components in your project, but Reactium can also help you with some common boilerplate. Let's create a simple hello world component for our homepage:
This page assumes you are have some familiarity with:
Node.js and React
npm (node package manager)