Jotai v2.20.0

v2.20.0
Changed 3
  • Avoid getInternalBuildingBlock function in internals
  • Refactor Rev3 type narrowing for onMount hooks
  • Use lazy hooks in ensureAtomState for new atom state
Fixed 1
  • Guard atomOnInit hook with hasOnInit

This release improves performance in high-throughput scenarios. Huge kudos to @dmaskasky!

What's Changed

Full Changelog: https://github.com/pmndrs/jotai/compare/v2.19.1...v2.20.0

View original

Upgraded? How did it go?

Discussion