All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed missing entrypoints
- Added
ISyncExternalStore<T>
andSyncExternalStore<T>
to make creating external stores forReact.useSyncExternalStore
easier (Requires React@18 or higher)
- Widened React peer dependencies to include everything greater than 16
- Added
deps
argument to all modifiers to mimic useMemo or useCallback deps argument
- Fixed react peer dependency range
- Fixed simultaneous create for IndexableContextStore and StatefulIndexableContextStore
- Fixed createOne overwriting existing indexes for arrays instead of inserting
- Fixed typing issues with useIndexableStatefulContextStore
- Fixed console warnings
- Renamed
preaction
topreload
- Defaulted Params to be void
- Refactor and reorganization of code
- Added
useStatefulIndexableContextStore
- For any methods that update all items, the base
state
will be modified - For any methods that update a single item, the individual item's
state
will be modified and the base state will be unchanged - TODO: Need to add documentation for the above
- For any methods that update all items, the base
- First release