Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including ylem with all npm packages installed. Try it out:

require("react/package.json"); // react is a peer dependency. var ylem = require("ylem")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ylem v2.1.4

Add Observable View-Models to React Components

ylem - Easy state management for React

Build Status Greenkeeper Badge

[ahy-luh m] noun ASTRONOMY

The primordial matter of the universe from which all matter is said to be derived, believed to be composed of neutrons at high temperature and density.

QA mode

ylem uses observable objects to determine when to re-render components. We are currently considering two APIs - each has its own README and docs:

  1. Extend ylem's Component - this.state is observable, no more .setState(). Read more here.

  2. connect() - connect an observable object to a presentation (aka. "dumb") component (similar to redux). Read more here.


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free