📄️ AtomBuilder
In most cases you should prefer to use hooks like useAtomState(), but if
📄️ AtomEffect
Auxiliary function to listen to changes in one or more Atom.
📄️ Observability
The biggest challenge in reactivity is observability. We have taken this to the next level with ASP. Now, you can track which action modified the state of an Atom, and when someone starts or stops listening to an Atom.
📄️ Testing
Atoms has two methods created to assist in unit testing, Atom.next() and Atom.buffer().
📄️ Custom pipe
We can create our own pipes just by implementing the AtomPipe interface.
📄️ Migrate V1 to V2
After extensive feedback, we are changing the API to make the standard more intuitive and user-friendly. We also added stricter limits for more complex projects and introduced a “predictability” system in state changes to improve tracking and debugging while reducing unwanted side effects. Some changes may seem drastic, but we believe everything will make more sense once you give this new API a chance.