Work like Redux but use like LocalStorage. When a global state is changed, only the related components are requested to update.
npm install --save global-state-react
import React, { Component } from 'react'
import MyComponent from 'global-state-react'
import 'global-state-react/dist/index.css'
class Example extends Component {
render() {
return <MyComponent />
}
}
MIT © minhthongit2015