mobx-react-use-autorun 3.1.22 → 3.1.24
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
|
@@ -6,7 +6,7 @@ Provide concise usage for mobx in react<br/>
|
|
|
6
6
|
|
|
7
7
|
# `Usage`
|
|
8
8
|
|
|
9
|
-
### Define state
|
|
9
|
+
### Define state with useMobxState
|
|
10
10
|
|
|
11
11
|
import { useMobxState, observer } from 'mobx-react-use-autorun';
|
|
12
12
|
import { useRef } from 'react';
|
|
@@ -291,7 +291,7 @@ Typedjson is a strongly typed reflection library.<br/>
|
|
|
291
291
|
|
|
292
292
|
# Learn More
|
|
293
293
|
|
|
294
|
-
1. A JavaScript library for building user interfaces (https://
|
|
294
|
+
1. A JavaScript library for building user interfaces (https://react.dev)<br/>
|
|
295
295
|
2. Reactive Extensions Library for JavaScript (https://www.npmjs.com/package/rxjs)
|
|
296
296
|
3. Material UI is a library of React UI components that implements Google's Material Design (https://mui.com)
|
|
297
297
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"mobx-react-use-autorun","version":"3.1.
|
|
1
|
+
{"name":"mobx-react-use-autorun","version":"3.1.24","description":"Provide concise usage for mobx in react","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.9.0","mobx-react-lite":"3.4.3","react-use":"17.4.0","rxjs":"7.8.0"},"peerDependencies":{"react":">=16.8.0"},"license":"MIT","keywords":["react","mobx","typescript","hooks"],"main":"./dist/cjs/index.js","module":"./dist/esm/index.js","es2015":"./dist/esm/index.js","types":"./dist/cjs/index.d.ts","eslintConfig":{"extends":["react-app","react-app/jest"]},"exports":{".":{"types":"./dist/cjs/index.d.ts","node":"./dist/cjs/index.js","require":"./dist/cjs/index.js","es2015":"./dist/esm/index.js","default":"./dist/esm/index.js"}},"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/"}}
|