@aha-app/react-easy-state
Advanced tools
Comparing version 0.0.0-development to 0.0.1-development
{ | ||
"name": "@aha-app/react-easy-state", | ||
"version": "0.0.0-development", | ||
"version": "0.0.1-development", | ||
"description": "React state management with a minimal API. Made with ES6 Proxies.", | ||
@@ -18,2 +18,3 @@ "main": "dist/cjs.es6.js", | ||
"example": "node ./scripts/startExample.js", | ||
"test-node-support": "node ./scripts/testNode.js", | ||
"coveralls": "cat ./coverage/lcov.info | coveralls", | ||
@@ -71,2 +72,3 @@ "test-builds": "node ./scripts/testBuilds.js", | ||
"@babel/plugin-proposal-export-default-from": "^7.8.3", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.9.5", | ||
"@babel/plugin-transform-async-to-generator": "^7.8.3", | ||
@@ -113,2 +115,3 @@ "@babel/plugin-transform-modules-commonjs": "^7.8.3", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-replace": "^2.2.0", | ||
"semantic-release": "^17.0.4", | ||
@@ -115,0 +118,0 @@ "sinon": "^9.0.1", |
@@ -13,3 +13,3 @@ <p align="center"> | ||
**NEWS:** `react-easy-state` is moved under `@risingstack/react-easy-state` on npm with **no breaking changes**. Please switch to the new package to get the latest features and bug fixes. Thanks! | ||
**NEWS:** v6.3.0 fixed a nasty bug that could render [zombie children](https://react-redux.js.org/api/hooks#stale-props-and-zombie-children). Please update to this version at least to save yourself some headaches. Thanks! | ||
@@ -275,3 +275,3 @@ <details> | ||
<p></p> | ||
Every component that is using a store or part of a store inside its render must be wrapped with `view`. Sometimes store usage is not so explicit and easy to to miss. | ||
@@ -278,0 +278,0 @@ |
declare module '@risingstack/react-easy-state' { | ||
import { ComponentType } from 'react'; | ||
import { ComponentType, DependencyList } from 'react'; | ||
@@ -14,2 +14,7 @@ // takes an object (optionally), wraps it in a transparent proxy and returns the proxy | ||
): T; | ||
function autoEffect( | ||
effect: () => void, | ||
deps?: DependencyList, | ||
): () => void | undefined; | ||
function clearEffect(effect: () => void): void; | ||
} |
36923
18
49