Ovidiu Alexandrescu
Results
2
comments of
Ovidiu Alexandrescu
Had same issue when tried to call `setInputState` inside `useEffect`. iOS was crashing. Resolved this by using `InteractionManager` Before ```jsx useEffect(() => { riveRef?.current?.setInputState('hero', 'health', healthValue); }, [healthValue]); ``` After...
Instead of `validateField()` you can use [setFieldTouched()](https://formik.org/docs/api/formik#setfieldtouched-field-string-istouched-boolean-shouldvalidate-boolean--void) which can also trigger validation