v1.0.0
Zedux's API is officially stable. We have several additions planned, but no breaking changes for any user-facing or documented APIs in the pipeline for the near future. It's go time!
New Features:
- Breaking Change
atoms
:defaultTtl
->atomDefaults.ttl
(#38) - Breaking Change
atoms
: implement AtomApiGenerics type map and all its helpers (#40) - Breaking Change
react
: AtomInstanceProvider -> AtomProvider (#32) - Breaking Change
react
: makeinstance.invalidate()
a normal method (#29) - Breaking Change
react
: move auto-batching fromapi()
toinjectCallback()
(#31) - Breaking Change
react
: reuse names that can be shared between instances & selectors (#30) - Breaking Change
react
: useAtomConsumer -> useAtomContext (#33) - Breaking Change
atoms
,immer
: don't exportcreateInjector
- replace withinjectSelf
(#35) - Breaking Change
atoms
,core
,machines
: break out state machines into their own@zedux/machines
package (#36) - Breaking Change
atoms
,core
,immer
,machines
,react
: internalTypes -> zeduxTypes (#37) atoms
,react
: break the atomic model into its own @zedux/atoms package (#34)