Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(useCustomCompareMemo): Correctly infer the type of the value retu…
…rned by the factory function Change the return type to the type returned by the factory function instead of unknown. This makes the hook work the same way as useMemo. fix react-hookz#975
- Loading branch information