New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

kea

Package Overview
Dependencies
Maintainers
1
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kea - npm Package Versions

1
24

2.2.0-beta.7

Diff

mariusandra
published 2.2.0-beta.6 •

mariusandra
published 2.2.0-beta.5 •

mariusandra
published 2.2.0-beta.4 •

mariusandra
published 2.2.0-beta.3 •

mariusandra
published 2.2.0-beta.2 •

mariusandra
published 2.2.0-beta.1 •

mariusandra
published 2.1.1 •

Changelog

Source

2.1.1 - 2020-06-14

  • Read the blog post: https://kea.js.org/blog/kea-2.1
  • Simplified the syntax even more! You don't need to pass () => ({ ... }) to actions, reducers, etc if there's nothing you want from the logic. Just pass {} instead.
  • Simplified syntax for selectors when not using the function syntax:
kea({
  selectors: {
    doubleCounter: [(selectors) => [selectors.counter], (counter) => counter * 2],
  },
})
  • Listeners get the store's previousState as their 4th argument. You can use selectors (selectors.myData(previousState)) to get the any value as it was before the action was dispatched.
mariusandra
published 2.1.0 •

mariusandra
published 2.0.1 •

Changelog

Source

2.0.1 - 2020-06-05

  • Fix error when calling old references to actions on unmounted logic via hooks.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc