Add persistence functionality (supports any environment through storage passed in constructor)
Update docs
Add "Extension" guide to the docs
Add react-native guide to the docs
To do
Add tests
Questions
Should we expose the low level primitives from previous versions? It could be a good idea to provide escape hatches, but it could lead to integration complexity.
Should we make storage required instead of making it in-memory by default? We could go as far as provide different storages: InMemoryStorage, WebStorage, ChromeStorage, ReactNativeStorage. But I feel it's easier to add examples in docs and not support every use case.
Done
storage
passed in constructor)To do
Questions
storage
required instead of making it in-memory by default? We could go as far as provide different storages:InMemoryStorage
,WebStorage
,ChromeStorage
,ReactNativeStorage
. But I feel it's easier to add examples in docs and not support every use case.