Savitha Dhatchinamoorthy
Results
1
comments of
Savitha Dhatchinamoorthy
This works! const [, forceUpdate] = useReducer((x) => x + 1, 0); const validator = useRef( new SimpleReactValidator({ autoForceUpdate: { forceUpdate: forceUpdate }}) ); **Usage**: onBlur={validator.current.showMessageFor('name')} />