It's a very common pattern to declare functions inline now-a-days, which causes problems when used with react-fast-compare because the library currently only compares functions referentially.
Checklist:
[x] All tests are passing
[x] Type definitions, if updated, pass both test-ts-defs and test-ts-usage
[x] Benchmark performance has not significantly decreased
[x] Bundle size has not been significantly impacted
[ ] The bundle size badge has been updated to reflect the new size
Description
Fixes #114
It's a very common pattern to declare functions inline now-a-days, which causes problems when used with
react-fast-compare
because the library currently only compares functions referentially.Checklist:
test-ts-defs
andtest-ts-usage