plait.js.org - Introduction · Plait

Example domain paragraphs

Plait is a minimal JavaScript framework for building isomorphic reactive web components. It is loosely based on The Elm Architecture and Elm's StartApp .

Inspired by the experience of writing reactive applications in Elm , Plait is an attempt at achieving a similar application architecture with a minimal amount of JavaScript.

In Plait, an application is composed of one or more encapsulated components. A component is made up of 3 functions: init , which provides the component's initial state; view , which renders the component at a given state and attaches actions to the UI elements; and update , which modifies the component's state based on actions dispatched from the UI.