Version 7.40.0-next.0 #9381
Unanswered
bluebill1049
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
👉 NEW
values
propsThe following syntax will react to
values
prop update/changes.👉 NEW async
defaultValues
propsThe following syntax will support async
defaultValues
, so we will manage thereset
form internally and updateformState
accordingly.useForm()
callresetOptions
as wellReact
use
API🙋 What's the difference between
values
anddefaultValues
values
will react to changes and reflect on the form values, anddefaultValues
is cached for once and will never re-run the promise or react todefaultValues
changes.🌻 close #9379 flush extra re-render at useFormState to update current form state subscription (#9380)
🍄 upgrade to TS4.9 (#9371)
This discussion was created from the release Version 7.40.0-next.0.
Beta Was this translation helpful? Give feedback.
All reactions