ez-saga 0.0.3 → 0.0.5
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@ The dy-saga project is a project that imitates dva-js
|
|
|
3
3
|
# how to use?
|
|
4
4
|
install
|
|
5
5
|
```
|
|
6
|
-
npm install ez-
|
|
6
|
+
npm install ez-saga --save
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
This is the entry file of the project.
|
|
@@ -32,8 +32,8 @@ class RouterConfig extends React.Component {
|
|
|
32
32
|
ReactDom.render(<RouterConfig />, document.getElementById('root'));
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
Now let's define a model 'userModel.js'
|
|
36
|
+
|
|
37
37
|
```js
|
|
38
38
|
export const modelName = 'user';
|
|
39
39
|
|