You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you submitting a bug report or a feature request?
feature request (or more like a performance request)
What is the current behavior?
onBlur, onChange and onFocus from useForm(...).input do not maintain referential equality between renders. Therefore React.memo is hard to correctly implement.
What is the expected behavior?
Preferably the aforementioned functions (onBlur, onChange and onFocus) would be referentially equal between renders.
Hi,
This is something I'm interested in writing a PR on. But I'm finding it difficult to properly setup a development environment. Are there any dev-docs I can reference?
The dev stuff can be hard, as we currently have no test suite. I've had some success in the past consuming a library as I write it using yalc. Good luck? 😄
Are you submitting a bug report or a feature request?
feature request (or more like a performance request)
What is the current behavior?
onBlur
,onChange
andonFocus
fromuseForm(...).input
do not maintain referential equality between renders. Therefore React.memo is hard to correctly implement.What is the expected behavior?
Preferably the aforementioned functions (
onBlur
,onChange
andonFocus
) would be referentially equal between renders.What's your environment?
Other information
The text was updated successfully, but these errors were encountered: