Releases: jonbnewman/mobx-store-provider
Releases · jonbnewman/mobx-store-provider
Updated dependencies
v1.1.2 updated react dependency to reflect necessary requirements
API cleanup, documentation fixes
-
Documentation fixes/updates
-
This release removes support for
useConsumer
.The reasoning is that in a Hooks world it is not needed. So simplicity won over.
More hooks, less mess
What's new:
-
createProvider
-
useStore
-
useConsumer
-
disposeStore
-
Updated and much cleaner documentation (
README.md
).
- Warning: This has breaking changes with previous versions (< v1.1.0).
The API has been simplified and focused around a functional hooks-only approach.
API simplification, doc fixes
v1.0.13 added support for displayName to context
Identify and destroy
This release adds a couple key features:
-
Store identifiers
This allows you to use the same store in different modules without exporting it from where you used the Provider
-
destroy()
If you have a store that is no longer needed, you can now fully cleanup its references properly.
-
Better documentation/README.md
API Docs
v1.0.9 API docs
Build fix
v1.0.8 bumped version
Added tests
v1.0.7 bumped version
Updated dockblocks
v1.0.6 added dockblock explaining createStore, updated copy
Fixed install instructions
v1.0.5 fixed install instruction typo