formState and proxyFormState objects #5993
mh-alahdadian
started this conversation in
RFC
Replies: 3 comments 1 reply
-
The proxy is made to knowing which form state is users subscribed. This can lead to much less computation and renders. Eg if ur not subscribed to valid, then its saving all those validation logics. |
Beta Was this translation helpful? Give feedback.
0 replies
-
_formState should be able to be removed after react 18 is released with batching update. This is so we can batch a single form state update. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I just create the PR for removing Proxy #5999 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi I was trying to remove dependency of Proxy api using js basic feature to set getter for object with known field names using defineProperty
But I didn't understand what are purpose of
_proxyFormState
and_formState
fields of control objectCan anyone describe it to me ?
@bluebill1049
Beta Was this translation helpful? Give feedback.
All reactions