Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bitovi/ylem

Add Observable View-Models to React components
https://github.com/bitovi/ylem

observable react react-components viewmodel

Last synced: about 6 hours ago
JSON representation

Add Observable View-Models to React components

Awesome Lists containing this project

README

        

# ylem - Easy state management for React

[![Build Status](https://travis-ci.org/bitovi/ylem.svg?branch=master)](https://travis-ci.org/bitovi/ylem)
[![Greenkeeper Badge](https://badges.greenkeeper.io/bitovi/ylem.svg)](https://greenkeeper.io/)

> [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](./component).

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