@feizheng/next-update-state-value

1.0.1 • Public • Published

next-update-state-value

Update state value for react.

version license size download

installation

npm install -S @feizheng/next-update-state-value

usage

import '@feizheng/next-update-state-value';

class ReactList extends React.Component{
  //...
  shouldComponentUpdate(inProps){
    nx.updateStateValue(this, 'value', { props: inProps });
    return true;
  }
  //...
}

license

Code released under the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    1
    • latest

Version History

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

Package Sidebar

Install

npm i @feizheng/next-update-state-value

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

5.09 kB

Total Files

5

Last publish

Collaborators

  • afeiship