web
web copied to clipboard
Create an example for `useDeepCompareEffect`
What docs page needs to be fixed?
- Section:
- Page:
What is the problem?
Currently useDeepCompareEffect
does not have an example in the docs.
What should be changed to fix the problem?
We should make one.
Also, for useCustomCompareEffect
For useDeepCompareEffect
, how about this?
For useCustomCompareEffects
, how about comparing 2 objects by hashing them and comparing their hashes rather than a deep compare?
Also, for
useCustomCompareEffect
That's a separate issue, https://github.com/react-hookz/web/issues/352
@kylemh I really like the hash comparison for useCustomCompareEffect
.
:tada: This issue has been resolved in version 16.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket: