salsita / spicy-hooks

7 stars 0 forks source link

Rename `core/useInternedValue` to `useDistinct[Value]` #28

Closed goce-cz closed 3 years ago

goce-cz commented 3 years ago

I finally found a better name for this weird piece of code. It's actually inspired by the distinctUntilChanged() operator of RxJS.

🤔 Thinking whether we need the Value suffix or not. I'd probably keep it though.

goce-cz commented 3 years ago

Closed by #29