The high order component for creating uncontrolled component
npm install @rcp/hoc.uncontrolled

The high order component for creating uncontrolled component
``bash`
npm install @rcp/hoc.uncontrolledor use yarn
yarn add @rcp/hoc.uncontrolled
`javascript
import uncontrolled from '@rcp/hoc.uncontrolled'
// props.defaultValue and props.valuethis.state.value
// could be assigned to in constructor and componentWillReceiveProps automatically.`
@uncontrolled(['value'])
class Input extends React.Component {
render() {
return
}
}
#### Parameters
- propList {Prop\[]} eg. ['value'] / [{ name: 'value', withDefault: false, eq: (a, b) => a === b }]
Returns Function (Component: React.ComponentClass) => React.ComponentClass`
This library is written and maintained by imcuttle,
MIT