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 Compare versions

Comparing version 4.4.1 to 4.4.2

10

CHANGELOG.md
# Changelog
### 4.4.2
- Fix typings, remove unsubscribe from Store interface since isn't used
[info] Using redux-zero along with TypeScript gives an error when implementing:
`<Provider store={store}><Whatever/></Provider>` due to the actual store object
and the expected attribute differ.
- Added Store interface as signature for createStore function.
### 4.4.1

@@ -4,0 +14,0 @@

1

interfaces/Store.d.ts
export default interface Store {
setState: Function;
subscribe: Function;
unsubscribe: Function;
getState: Function;
}
{
"name": "redux-zero",
"version": "4.4.1",
"version": "4.4.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/redux-zero.js",

@@ -18,10 +18,13 @@ <h1 align="center">

- Single store
- No reducers
- Less boilerplate
- No PropTypes
- Smaller and simpler than [redux](https://github.com/reactjs/redux)
- Written in TypeScript
## Table of Contents
- [Installation](#installation)
- [How](#how)
- [Example](#example)
- [Inspiration](#inspiration)
- [Roadmap](#roadmap)
- [Tools](#tools)
- [Docs](#docs)
## Installation

@@ -137,2 +140,3 @@

- [React](https://github.com/concretesolutions/redux-zero/tree/master/examples/react/counter)
- [Preact](https://github.com/concretesolutions/redux-zero/tree/master/examples/preact/counter)
- [React Native](https://github.com/concretesolutions/redux-zero/tree/master/examples/react-native/counter)

@@ -139,0 +143,0 @@ - [Svelte](https://github.com/concretesolutions/redux-zero/tree/master/examples/svelte/counter)

@@ -1,5 +0,2 @@

export default function createStore(state?: {}): {
setState(update: any): void;
subscribe(f: any): () => void;
getState(): {};
};
import Store from "../interfaces/Store";
export default function createStore(state?: {}): Store;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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