Fix react compiler #1893
Mergedcrutchcorn(GitHub profile, opens in a new tab)merged 7 commits into
main fromrefs/pull/1893/headmerged by crutchcorn(GitHub profile, opens in a new tab) TkDodo reviewed
packages/react-form/src/useField.tsx lines 276 to 296OutdatedResolvedby crutchcorn(GitHub profile, opens in a new tab)@@ -219,13 +288,9 @@219288 TFormOnDynamicAsync,220289 TFormOnServer,221290 TPatentSubmitMeta222- > = api as never291+ > = reactiveFieldApi as never223292224293 extendedApi.Field = Field as never225294226295 return extendedApi227- // We only want to228- // update on name changes since those are at risk of becoming stale. The field229- // state must be up to date for the internal JSX render.230- // The other options can freely be in `fieldApi.update`231- }, [opts.form, opts.name])296+ }, [reactiveFieldApi])TkDodo approved these changes
crutchcorn(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
🦋 Changeset detected#
Latest commit: a3da6efc69ab53a9145a1cdade88ec77d18fe5a8
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR