We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b57bcc + fc46b8d commit 7806980Copy full SHA for 7806980
package.json
@@ -1,9 +1,8 @@
1
{
2
"name": "react-model",
3
- "version": "2.5.1",
+ "version": "2.5.3",
4
"description": "The State management library for React",
5
"main": "./dist/react-model.js",
6
- "module": "./dist/react-model.esm.js",
7
"umd:main": "./dist/react-model.umd.js",
8
"types": "./src/index",
9
"scripts": {
src/global.ts
@@ -1,6 +1,5 @@
let State: any = {}
// Communicate between Provider-Consumer and Hooks
-// Use to provide backwards-compatible.
let Setter: Setter = {
// classSetter stores the setState from Provider, invoke the classSetter.setState can update the state of Global Provider.
classSetter: undefined,
0 commit comments