use-custom-compare-effect

useEffect hook which takes a comparison function instead of compare using reference equality

// repository documentation