1.0.0 • Published 3 years ago

@jswork/next-update-state-value v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

next-update-state-value

Update state value for react.

version license size download

installation

npm install -S @jswork/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.