Releases: jonbnewman/mobx-store-provider
Documentation fix
v1.4.9 added github pages url as homepage attribute to package.json
Documentation fix
v1.4.8 bumped version
Testing updates, github pages documentation
This release moves the documentation to github pages, and refactors tests to be more modular.
Stricter Identifier typing
This release contains a more well defined, stricter type interface for an identifier
- identifier -
string | number | object | symbol | null | Array<any>
Internal optimization, documentation updates
This release contains an internal logic optimization + documentation updates.
- Optimized internal logic for
useProvider
- Added multiple stores example to documentation
Fixed React dependency
- React dependency was set to
>=16.8
Stricter/improved typing, internal updates
This release is comprised of documentation, internal logic and typing updates.
-
Updated documentation
-
Refactored (simplified)
useStore
internal logic -
Internal
defaultId
for store identifier is now aSymbol
-
Stricter typing on a store
identifier
(can no longer use a function)Identifier -
null | undefined | string | number | object | Array<any> | Symbol | BigInteger
Improved developer experience
Multiple exports of the same hooks was creating multiple import suggestions when using mobx-store-provider. This release fixes that by merging the hooks into the root index source file, improving the developer experience.
- This release includes no API changes.
- This release includes no breaking changes.
CommonJS module, typing updates
- Minor typing updates
- CommonJS module output
Simplified API
Warning: Includes breaking API changes:
- createStore now only has 1 profiles/usage (see docs)
This release further focuses on freeing up issues/friction which was being felt during development.