Skip to content

5.1.1

Compare
Choose a tag to compare
@alexreardon alexreardon released this 23 Aug 03:18
· 117 commits to master since this release

Looser EqualityFn type

For 5.1.0 we shipped an EqualityFn type that was not ideal. It was decided that the simplest path forward for consumers was to move to a looser EqualityFn type. #73

- export type EqualityFn = (newArgs: readonly unknown[], lastArgs: readonly unknown[]) => boolean;
+ export  type EqualityFn = (newArgs: any[], lastArgs: any[]) => boolean;

Thanks @SanderDeWaal1992 for raising this issue