Deep, custom and deterministic comparison for useEffect, useLayoutEffect, useMemo and useCallback React hooks.