Closed robin-ambachtsheer closed 2 years ago
This hook is all about preventing unnecessary re-renders in your React components.
const someField = useFormStateSelector((formState) => formState.values.someField); return someField; // re-renders when formState.values.someField is changed
This hook is all about preventing unnecessary re-renders in your React components.