0.4.0 - Collection with Model, useModel and useModelItem
0.4.0
Introducing Model, which represents a collection of objects with the same type.
Added
new Model<T>(key): create a model withkeyas the storage identifieruseModel<T>(key): a React hook to create a model and automatically subscribe to its itemsuseModelItem<T>(key, id): a React hook to get an item from a specific model