Package Exports
- @jswork/next-update-state-value
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jswork/next-update-state-value) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
next-update-state-value
Update state value for react.
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.