Skip to content

A ReactJS inspired Framework written in TS for learning purposes

Notifications You must be signed in to change notification settings

V01D-NULL/LumaJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LumaJS

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.

Screenshot 2025-01-15 at 02 33 52

Getting Started

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:

Building

Packages:

# project root
npm install
npm run build

Demo app:

cd app/demo
npm install
npm run dev

How it works:

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.

About

A ReactJS inspired Framework written in TS for learning purposes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published