Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redux-zero

Package Overview
Dependencies
Maintainers
2
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-zero - npm Package Versions

23
7

5.1.7

Diff

Changelog

Source

5.1.7

  • Renaming UNSAFE_componentWillUnmount to componentWillUnmount
matheusml
published 5.1.6 •

Changelog

Source

5.1.6

  • Update bindActions types to preserve argument types in TypeScript
matheusml
published 5.1.4 •

Changelog

Source

5.1.4

  • Removing React class method warnings
matheusml
published 5.1.3 •

Changelog

Source

5.1.3

  • Added ComponentProps concept and updated connect method type signature to accept generic type for ComponentProps so that type safety works when a connected component is used.
matheusml
published 5.1.2 •

Changelog

Source

5.1.2

  • Fix to make sure React's connect() components rerender when their props change.
matheusml
published 5.1.1 •

Changelog

Source

5.1.1

  • Fixed missing types/Actions in the final bundle
matheusml
published 5.1.0 •

Changelog

Source

5.1.0

  • Added hooks for react >= 16.8.0. The react bindings now offer a useStore, useSelector and useAction hooks.
const Counter = () => {
  const store = useStore();
  const count = useSelector(({ count }) => count);
  const incrementBy = useAction(({ count }, value) => ({
    count: count + value
  }));

  return (
    <>
      <p>Value: {count}</p>
      <button onClick={() => incrementBy(10)}>10 More</button>
    </>
  );
};
matheusml
published 5.0.5 •

Changelog

Source

5.0.5

  • Fixed connect in preact bindings to call the mapStateToProps function when the component props change, not just when the state store changes
matheusml
published 5.0.4 •

Changelog

Source

5.0.4

  • Changing from npm to yarn
matheusml
published 5.0.3 •

Changelog

Source

5.0.3

  • Added Actions typings for writing typesafe React components
23
7
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