I'd like to preserve the form data user entered to some global state management, so that when user accidently closed the form, user can reopen the form and continue the job.
But I failed to find a way to do this with react-final-form.
What I want is something like:
<Form onChange={(formdata) => saveToLocalStorage(formdata)}>
or
useEffect(
() => saveToLocalStorage(formdata),
[formdata]
)
Is this possible?