What's New
Last updated
Last updated
Package is also available now in GitHub Package Registry
Renamed package to @ranndev/angularjs-store
By migrating the package bundler to Rollup, we reduced the bundle size down to 1.63KiB (almost a half).
We can now see a warning logs on console if we try to use the package incorrectly. Only on development.
You can now use the AngularJS Store using Typescript and get a code-completion for the store's state and actions.
From 20kb in version 3, it's now reduces to 3kb.
If you want to set a hook for all available actions, you can now use a wild card action query instead of using an array of store action or complex regular expression.
An array hook callback in hook
method is now unsupported in version 4. You can only use the hook
method with a single callback function like so