global-state-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

global-state-react

Work like Redux but use like LocalStorage. When a global state is changed, only the related components are requested to update.

NPM JavaScript Style Guide

Install

npm install --save global-state-react

Usage

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 />
  }
}

License

MIT © minhthongit2015

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i global-state-react

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

44.6 kB

Total Files

10

Last publish

Collaborators

  • minhthong.it2015