HOC
High order component
The agent outputs output without modifying the internal state of the component
state |
Rapid development of
One line of code allows your component to support it
defaultvalue |
Strong compatibility
Support for custom input and output
props.value props.onChange |
YouComponent = require('react-defaultvalue')(YouComponent, {input: "show", output: "onChange"})