Closed marcelmokos closed 6 years ago
another great catch, @marcelmokos! This one is also covered in https://github.com/FormidableLabs/react-fast-compare/issues/15.
this is also fixed with react-fast-compare@2.0.0
(released a few hours ago). thanks for helping us out @marcelmokos!
common use case is to provide function as prop
use case in redux is to provide action creator function to components
There is a option replace using function.name without regex but it might replace something else in the code as well.