FormidableLabs / react-fast-compare

fastest deep equal comparison for React
MIT License
1.59k stars 54 forks source link

feat: add comparison of functions by content #115

Open quantizor opened 2 years ago

quantizor commented 2 years ago

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: