Edit This Page

Examples

In Refraction repository there are few examples, check them out here.

React simple

Run the React simple:

git clone https://github.com/mbasso/refraction.git

cd refraction/examples/ReactSimple
npm install
npm start

open http://localhost:3000/

This is a basic example that show how to use Refraction, due to its simplicity, it also contains react bindings and an events player.

Rx simple

Run the Rx simple:

git clone https://github.com/mbasso/refraction.git

cd refraction/examples/RxSimple
npm install
npm start

open http://localhost:3000/

This is a basic example that show how to use Refraction with Rx, this example is equals to React simple.