Comparing version 0.2.0 to 1.0.0
{ | ||
"name": "bly", | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"description": "Flux app framework with hapi like interface", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -53,3 +53,3 @@ # Bly - Flux app framework with hapi like interface [![Build Status](https://travis-ci.org/JaapRood/bly.svg?branch=master)](https://travis-ci.org/JaapRood/bly) | ||
App({ | ||
stores: stores | ||
bly: app | ||
}); | ||
@@ -70,2 +70,16 @@ }) | ||
# Using with React | ||
Bly and [React](http://reactjs.org) make for a really good couple, it's what Bly was designed with in mind. | ||
The [bly-react-mixin](https://github.com/JaapRood/bly-react-mixin) module is the glue to their relationship, letting you access stores and dispatch actions from your React components. | ||
The rendering on every dispatched action really comes into it's own when used with immutable stores. Combining state defined with something like [immutable-js](https://github.com/facebook/immutable-js) with a simple shouldComponentUpdate implementation can make for efficient rendering of Bly apps. | ||
# Examples | ||
Bly is still pretty experimental and not used in many places yet. The best example is [an experimental repo](https://github.com/JaapRood/flux-experiments-chat) in which the idea and first code of Bly was developed, which is a port of Facebook's chat example. It also features stores written with [immutable-js](https://github.com/facebook/immutable-js) and rendering with [[React](http://reactjs.org). | ||
Built anything? Add it here and send a pull request! | ||
# API | ||
@@ -72,0 +86,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
50746
0
336