Releases: jlalmes/simple-atom
Releases · jlalmes/simple-atom
v2.1.0
What's Changed
- Fix: Fixed
initialValue
atom typings (#6)
- Feat: Removed atom names (#6)
- Chore: Updated build configuration (#6)
- Chore: Updated dependencies (#6)
Full Change Log: v2.0.1...v2.1.0
v2.0.0
What's Changed
- Feat: Support SSR out of the box (#2)
- Feat: Removed
DeepReadonly
(#1)
- Feat: Added
name
property to Atom
- Chore: Bumped dependencies
Full Change Log: v1.1.4...v2.0.0
v1.1.4
Change log
- ⚡ Prevent deep freezing atom values in production for better performance
- ✨ Support IE11 out of the box
v1.1.3
Change log
- ✨ Enforce
atom.value
immutability by deep-freezing internal atom value
- ⚡ Memoize setter function in
useAtom
hook for better React performance
- 🐛 Minor bugfixes
simple-atom v1.0.0
simple-atom
Simple atomic state that can be updated outside of React components.
-
Update state outside of a React component.
-
No need for React Context, store your atoms in global scope.
-
Familiar API, identical to React.setState.
-
First class Typescript support.
-
It's simple, open source and it's tiny! <1KB gzipped.