Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Updated API for the library. Introduced tooling for ViewControl…
…lers with Ditox.js DI container. * feat: Renamed `StateReader` to `StateQuery` * feat: Refactored API, removed deprecated types and functions. * feat: Replaced `StateDeclarationOptions` by `StoreOptions` type. Added `options` argument to `StateDeclaration.createStore()` factory. * feat: Removed `StateDeclaration` and related utilities * feat: Moved Queries to the top level * feat: Action can be created with a custom operator for processing an event * feat: Renamed `StoreOptions.stateComparator` to `StoreOptions.comparator` * feat: Refactored Store Actions to Store Updates. Introduced `withStoreUpdates()` * feat: Refactored Store Actions to Store Updates. Introduced `withStoreUpdates()` * feat: Refactored StoreWithUpdates. Introduced `useStore()` hook. * refactor: Removed `StoreUpdateRecord` and `StoreUpdater` types. Removed `createStoreUpdatesFactory()`. * refactor: Introduced `EffectController` utility for building custom effects. * feat: Introduced `pipeStore()` utility function to create a deferred or transformed view of a store. * feat: Added tools for creating controllers and view controllers which are compatible with Ditox.js dependency container. * chore: Updated dev dependencies. Fixed types. Fixed jest config. * refactor: Renamed `scope.onDestroy()` back to `scope.add()` * chore: Added 'pack' script * fix: Stabilizing the library, adding tests * fix: Stabilizing the library, adding tests * fix: Stabilizing the library, adding tests * fix: Stabilizing the library, adding tests * refactor: Refactored controllers and view controllers * feat: Added "declareStoreWithUpdates()" utility function * test: Added a test * refactor: Minor * refactor: Reeverted to the previous way of passing parameters to a view controller from UI view. * refactor: fixes
- Loading branch information