We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zustand has shallow as the second argument to optimize for referential equality.
shallow
Is it possible to do something like that with this library?
const sdkReader = useSDK((s) => s.sdkReader) const sdkWriter = useSDK((s) => s.sdkWriter)
Can we write this in one line with destructuring ?
The text was updated successfully, but these errors were encountered:
I found this very controversial, but at this point, I wouldn't do it probably unless React does it. See #19 for long discussions.
Sorry, something went wrong.
No branches or pull requests
Zustand has
shallow
as the second argument to optimize for referential equality.Is it possible to do something like that with this library?
Can we write this in one line with destructuring ?
The text was updated successfully, but these errors were encountered: