salsita / spicy-hooks

7 stars 0 forks source link

Remove `useValueVersion` in favor of `useDistinctValue` #29

Closed goce-cz closed 3 years ago

goce-cz commented 3 years ago

Resolves #27, #28

This PR removes the confusing useValueVersion in favor of useInternedValue and renames useInternedValue to useDistinctValue. See the resolved issues for motivation.