ReactiveJS

Reactive components in any DOM element. A small reactive framework where state, calculations and reverse bindings drive a plain DOM driver of tags, attributes and text.

The reactivejs.org home page

About

The runtime primitives live under Reactive, and library modules such as Content, Layout and Maths are their own globals. Link one script tag per module, describe your state and calculations, and mount the result into any element on any page.

ReactiveJS combines two-way data binding, reversible calculations and automatic asynchronous handling, so that each piece of a program can be reasoned about locally, however large the program grows.

Features

Two-way binding

A value bound to an input updates from it and updates it, with no glue code.

Reversible calculations

A calculated value can be written back to, and the change flows to the values it came from.

Asynchronous by default

Values that arrive later are handled like any other, with no promises to manage.

Precise collections

A reactive collection renders each of its items, and tracks additions and removals precisely.

A plain DOM driver

Components are made of tags, attributes and text, so the output is ordinary HTML in any element.

One script tag per module

No build step: link the modules you use and write the component in a script on the page.

Screenshots

reactivejs.org explains the ideas behind the framework, with examples and a reference for every module.

Contents

The sections of reactivejs.org, and the pages in each.

Technologies

Credits

More research