mobx-react-use-autorun 3.1.26 → 3.1.28
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 +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -235,10 +235,12 @@ Correct Example:<br/>
|
|
|
235
235
|
|
|
236
236
|
# Notes - Work with non-observable components
|
|
237
237
|
|
|
238
|
-
Non-observer components cannot trigger re-rendering when the following data changes
|
|
239
|
-
array<br/>
|
|
240
|
-
object<br/>
|
|
241
|
-
The all data used in the new render callback<br/>
|
|
238
|
+
Non-observer components cannot trigger re-rendering when the following data changes, please use "toJS" to do it.<br/>
|
|
239
|
+
* array<br/>
|
|
240
|
+
* object<br/>
|
|
241
|
+
* The all data used in the new render callback<br/>
|
|
242
|
+
|
|
243
|
+
<br/>
|
|
242
244
|
|
|
243
245
|
import { observer, toJS, useMobxState } from "mobx-react-use-autorun";
|
|
244
246
|
import { v1 } from "uuid";
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"mobx-react-use-autorun","version":"3.1.
|
|
1
|
+
{"name":"mobx-react-use-autorun","version":"3.1.28","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.1"},"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/"}}
|