Closed aboodman closed 1 year ago
The cloning defeats caching by identity, ie with React.memo. And we already disable the parse in production so we may as well return the original value in dev too for consistency.
React.memo
Another reason to prefer Valita over Zod!
The cloning defeats caching by identity, ie with
React.memo
. And we already disable the parse in production so we may as well return the original value in dev too for consistency.