Home > react-native-material-kit > Checkbox > UNSAFE_componentWillReceiveProps

Checkbox.UNSAFE_componentWillReceiveProps() method

TODO using controlled components. https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html?#preferred-solutions

Signature:

UNSAFE_componentWillReceiveProps(nextProps: CheckboxProps): void;

Parameters

Parameter Type Description
nextProps CheckboxProps  

Returns:

void