mobx-react-use-autorun 3.0.50 → 3.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -95,7 +95,7 @@ The first:
|
|
|
95
95
|
init: useIntl(),
|
|
96
96
|
})
|
|
97
97
|
|
|
98
|
-
is easy to use, you can define state and third-party hooks.<br/>
|
|
98
|
+
is easy to use, you can define state, props and third-party hooks.<br/>
|
|
99
99
|
|
|
100
100
|
The second:
|
|
101
101
|
|
|
@@ -156,7 +156,7 @@ Other than that, all usages are correct. Example:<br/>
|
|
|
156
156
|
|
|
157
157
|
export default observer(() => {
|
|
158
158
|
|
|
159
|
-
const state = useMobxState({
|
|
159
|
+
const state = useMobxState({
|
|
160
160
|
name: v1()
|
|
161
161
|
});
|
|
162
162
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"mobx-react-use-autorun","version":"3.0.
|
|
1
|
+
{"name":"mobx-react-use-autorun","version":"3.0.52","description":"React Hook for mobx","scripts":{"test":"npx -y -p typescript -p ts-node ts-node --skipProject bin/mobx_react_test.ts","build":"npx -y -p typescript -p ts-node ts-node --skipProject bin/mobx_react_build.ts","make":"npx -y -p typescript -p ts-node ts-node --skipProject bin/mobx_react_make.ts"},"dependencies":{"mobx":"6.7.0","mobx-react-lite":"3.4.0","react-use":"17.4.0","rxjs":"7.8.0"},"peerDependencies":{"react":">=16.8.0"},"license":"MIT","keywords":["react","mobx","typescript"],"main":"./dist/index.js","types":"./dist/index.d.ts","eslintConfig":{"extends":["react-app","react-app/jest"]},"homepage":"https://github.com/zdu-strong/mobx-react-use-autorun#readme","repository":{"type":"git","url":"git+https://github.com/zdu-strong/mobx-react-use-autorun.git"},"files":["lib","dist"],"bugs":{"url":"https://github.com/zdu-strong/mobx-react-use-autorun/issues"},"publishConfig":{"registry":"https://registry.npmjs.org/"}}
|