LumaJS is a React inspired framework with optional SSR capabilities via luma-router, built for learning purposes. It implements/mimics some of the features and APIs of React but is not intended for production use.
The recommended way to start a new LumaJS project is using create-luma-app:
# COMING SOON
# This will generate a new LumaJS app in the current working directory.
npx create-lumajs-app
LumaJS has a similar API to React or, if SSR is used, next.js. Run the examples:
Packages:
# project root
npm install
npm run build
Demo app:
cd app/demo
npm install
npm run dev
At the core of this framework is luma-js
. It is the actual javascript framework containing vital things such as hooks and reconcilation. It is powered by snabbdom.
SSR support for luma is powered by luma-router
, a package that acts as a page router and rendering service. Server side props, initial server renders and co happen in this package.
luma-cli
is a package to provide convenience methods for building and running luma with ssr.