@mic-rexjs/usecases-react 1.3.32 → 1.3.34
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 +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@ React-based solution for use usecases of Clean Architecture.
|
|
|
3
3
|
|
|
4
4
|
## Install
|
|
5
5
|
```bash
|
|
6
|
-
$ npm install --save @mic-rexjs/
|
|
6
|
+
$ npm install --save @mic-rexjs/usecases-react
|
|
7
7
|
# -
|
|
8
|
-
$ yarn add --dev @mic-rexjs/
|
|
8
|
+
$ yarn add --dev @mic-rexjs/usecases-react
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Links
|
|
@@ -114,7 +114,7 @@ const fileUseCase = <T extends File>({ maxContentLength = 2000 }: FileUseCaseOpt
|
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
// b.tsx
|
|
117
|
-
import { useUseCase } from '@mic-rexjs/
|
|
117
|
+
import { useUseCase } from '@mic-rexjs/usecases-react';
|
|
118
118
|
import ReactDOM from 'react-dom';
|
|
119
119
|
|
|
120
120
|
const ParentComponent = ({ children }: React.PropsWithChildren): React.ReactElement => {
|
|
@@ -184,4 +184,4 @@ ReactDOM.render(
|
|
|
184
184
|
```
|
|
185
185
|
|
|
186
186
|
## Test Demos
|
|
187
|
-
- [useUseCase](https://github.com/mic-rexjs/
|
|
187
|
+
- [useUseCase](https://github.com/mic-rexjs/usecases-react/blob/main/src/hooks/useUseCase/index.test.tsx)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mic-rexjs/usecases-react",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.34",
|
|
4
4
|
"description": "React-based solution for use usecases of Clean Architecture",
|
|
5
5
|
"private": false,
|
|
6
6
|
"keywords": [
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
],
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
28
|
-
"url": "git+https://github.com/mic-rexjs/
|
|
28
|
+
"url": "git+https://github.com/mic-rexjs/usecases-react"
|
|
29
29
|
},
|
|
30
|
-
"homepage": "https://github.com/mic-rexjs/
|
|
30
|
+
"homepage": "https://github.com/mic-rexjs/usecases-react#README.md",
|
|
31
31
|
"author": {
|
|
32
32
|
"name": "Michael Lee",
|
|
33
33
|
"email": "hello_zaizi@163.com"
|