mobx-react-use-autorun 3.0.48 → 3.0.50

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.
Files changed (2) hide show
  1. package/README.md +29 -26
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,32 +1,11 @@
1
- # Getting Started with Create React App
2
1
 
3
- This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). If you have any questions, please contact zdu.strong@gmail.com.<br/>
4
-
5
- ## Development environment setup
6
- 1. From https://code.visualstudio.com install Visual Studio Code.<br/>
7
- 2. From https://nodejs.org install nodejs v18.<br/>
8
-
9
- ## Available Scripts
10
-
11
- In the project directory, you can run:<br/>
12
-
13
- ### `npm test`
2
+ Provide concise usage to facilitate the use of mobx in react
14
3
 
15
- Run all unit tests.<br/>
16
-
17
- ### `npm run build`
18
-
19
- Builds the files for production to the `dist` folder.<br/>
20
-
21
- ### `npm run make`
22
-
23
- Publish to npm repository
24
-
25
- ## `Installation`
4
+ # `Installation`
26
5
 
27
6
  npm install mobx-react-use-autorun
28
7
 
29
- ## `Usage`
8
+ # `Usage`
30
9
 
31
10
  ### Notes - Define state and props with useMobxState
32
11
 
@@ -246,11 +225,35 @@ useUnmount is executed when the component is unmount.<br/>
246
225
  return null;
247
226
  })
248
227
 
249
- ## Learn More
228
+ # Getting Started
229
+
230
+ This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). If you have any questions, please contact zdu.strong@gmail.com.<br/>
231
+
232
+ ## Development environment setup
233
+ 1. From https://code.visualstudio.com install Visual Studio Code.<br/>
234
+ 2. From https://nodejs.org install nodejs v18.<br/>
235
+
236
+ ## Available Scripts
237
+
238
+ In the project directory, you can run:<br/>
239
+
240
+ ### `npm test`
241
+
242
+ Run all unit tests.<br/>
243
+
244
+ ### `npm run build`
245
+
246
+ Builds the files for production to the `dist` folder.<br/>
247
+
248
+ ### `npm run make`
249
+
250
+ Publish to npm repository
251
+
252
+ # Learn More
250
253
 
251
254
  1. React UI framework (https://reactjs.org)<br/>
252
255
  2. React hooks (https://www.npmjs.com/package/react-use)<br/>
253
256
 
254
- ## License
257
+ # License
255
258
 
256
259
  This project is licensed under the terms of the [MIT license](./LICENSE).
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"mobx-react-use-autorun","version":"3.0.48","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/"}}
1
+ {"name":"mobx-react-use-autorun","version":"3.0.50","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/"}}