message: update reset with asynchronously
diff: @@ -7,6 +7,11 @@ export default function App() {
  // e.target.reset(); // HTML standard reset() function will only reset inputs' value
  };
  + useEffect(async () => {
  + const result = await fetch('./api/formValues.json'); // result: { firstName: 'test', lastName: 'test2' }
  + reset(result); // asynchronously reset your form values
  + }, [reset])
  +
  return (
  <form onSubmit={handleSubmit(onSubmit)}>
  <input name="firstName" ref={register({ required: true })} />
  