Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds Generics API and TypeScript improvements (#457) * Fix statemapper eating up classes * Remove scratch file * Adds support for generic values * Adds support for generic values * Adds useLocalStore hook, deprecates createComponentStore (#458) * Adds useLocalStore hook * Adds typings for useLocalStore and it returns store now too * Adds docs for useLocalStore * Updates website * Bumps version * Fixes rollup config * Bumps version * Fixes website -> docs -> quick-start.md (#453) * Fixes computed properties error for dynamically added model (#455) * fixes computed error when get() returns undefined * avoids implicit boolean conversion * Bumps version * Updates website * Disables eslint against TypeScript files * Upgrades dependencies * Modified the useLocalStore API to include prev state/config and change config into a factory function * Bumps version * Upgrade website dependencies * Upgrades dependencies * Replaces immer-peasy with patched immer * Bumps version * Fixes bug with evolved models when rehydrating from merge or mergeDeep strategy * Bumps version * Adds patches to npm bundle * Bumps version * Adds a script to be able to run patch of immer correctly * Bumps version * Improves error handling of immer patch script * Bumps version * Fixes TypeScript state mapper * Bump version * Removes depth limit on TypeScript state mapper * Bumps version * Upgrades dependencies * Removes prop-types as a dependency * Adds deprecation message to createComponentStore * Bumps version * Small refactor to persistence implementation * The store.persist.flush API now returns a Promise * Improves persist flush API and adds types and docs on the store instance persist APIs. * Bumps version * Moves to microbundle as our bundler * Adds mangled properties for internals * Bump * Fixes persist data rehydration on dynamically added models and introduces an API by which to await the rehydration. * Bumps version * Moves tests to root of project * Upgrades dependencies * Fix invalid properties being exposed via getActions in TypeScript * Fixes listeners TypeScript mappings and removes restrictions. * Updates dependencies * Fix state mapper and add giant model stress test * Upgrades to prettier 2 * Bumps version * Fixes package lock and runs prettier 2 again * Fixes and improvements to the TypeScript typings * Bumps version * Updates redux-thunk middleware position to allow user overriding via the store middleware config * Bumps version * Fixes typings issue for computed properties and updates docs with known issue on them * Bumps version * added correct homepage url (#470) * refactor(recipesDoc): renamed selector to computed (#466) I believe the name changed a while ago, but wasn't reflected in this doc. * Adds known issue about computed property destructuring * shortened links (#469) * Improves the persist API docs * Adds community extensions page * Adds test to ensure immer Set and Map support works as expected * Adds unstable_effectOn API * Upgrades depenendencies * Upgrades to TypeScript 3.9 * Updates website * Bumps version * Upgrade dev deps * Upgrades to immer@7 with supreme joy * Upgrades TS deps * Bumps version * Fixes broken test for debug helper * Updates website * Refactors store helpers to be immutable * Upgrade dev deps * Upgrades deps * Bumps version * Disable persist for server side rendering * Upgrades dev dependencies * Upgrades dependencies * Ensures that storage engines are lazily accessed * Big rewrite to the persistences documentation * Minor fixes to typescript definitions * Bumps version * don't persist computed fields (#540) * Simplifies thunks and effects. No more error handling. Introduces an explicity 'fail' API for thunks. * Component stores drop support for initialData runtime prop and adds support for runtime modification to injections. * DevTools are now only enabled by default if not in production * Bumps version * A minor update to consuming-state.md (#490) * Update README.md * Update README.md * A minor update to consuming-state.md Co-authored-by: Sean Matheson <sean@ctrlplusb.com> * Updates docs per @gamtiq PR#507 * Updates docs per @gamtiq PR#508 * Updates docs per @gamtiq PR#509 * Updates docs per @gamtiq PR#517 * Updates docs per @minnacaptain PR#519 * Fix persist transformers order @czeslaaw #514 * Reintroduces initialData as runtimeModel on createContextStore * Updates website and improves persist API * Bumps version * Updates readme * Updates readme * Updates readme * Updates readme * Updates readme * Adds new scheduling and optimizations to persisting * Updates docs * Bump version * Computed properties now act againt their original immutable state * Updates docs and tests * Bumps version * Adds versioning to persist API, and new tutorials to website * Bumps version * Removes node 8 from travis build * Updated listeners to not respond to thunk fail type by default * Updates docs * Removes esm build * v4 * Removes temp file Co-authored-by: Hua Lu <lemonadedrink@gmail.com> Co-authored-by: Jake Chamberlain <jake@jchamb.com> Co-authored-by: Mohamed Nainar <mdnainar9615@gmail.com> Co-authored-by: Matthias Rougier <51899780+Matt-Swingvy@users.noreply.github.com> Co-authored-by: mighdoll <lee@underneath.ca> Co-authored-by: Ahmed Mohammed <amElnagdy@users.noreply.github.com>
- Loading branch information