Skip to content

5.1.0

Compare
Choose a tag to compare
@alexreardon alexreardon released this 21 Aug 01:39
· 119 commits to master since this release

Typescript support! 🤘🤩🤘

Typescript consumers will now start getting correct types without having to rely on installing @types/memoize-one. Internally memoize-one is now authored in Typescript.

memoize-one is still shipping flow types, so if you are using, or want to use flow, then you will still get the same fantastic types you always have.

And if you want to use good old regular vanilla JS then you can do that too!

This change has been marked as a feature release as it will not break any existing flow consumers

❤ Thanks to @PavelVanecekAtlassian, @danieldelcore and @TrySound for their assistance. And thanks to @karol-majewski and @franklixuefei for creating the previous memoize-one typescript types on DefinitelyTyped