Skip to content

Latest commit

 

History

History

library

@lukekaalim/act

npm (scoped) npm bundle size (scoped)

A generic rendering library for hierarchical elements.

Basically, a react/preact knockoff.

Render to HTML with @lukekaalim/act-web or use 3D capabilites with threejs using @lukekaalim/act-three, or even build mobile, tv, or desktop apps with @lukekaalim/act-remote!

Writing declarative user interfaces using components, state and side effects.

Pull the library apart and take a look at the modular insides - develop your own renderer, reconciler, scheduler or any other core part of act.

::demos

Install

npm install @lukekaalim/act

Usage

Take a look at the Web Quickstart Guide.

Why?

I wanted to understand how react worked, and also how I could write my own custom renderer. I ended up with a really bare-bones react clone with a smaller interface, so I thought it would be fun to share.