Skip to content

Commit 530ecb2

Browse files
authored
Merge pull request #13 from react-gx/dev
Update readme
2 parents b150895 + 0535d41 commit 530ecb2

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,11 @@ yarn add @dilane3/gx
3434

3535
## Prerequisites
3636

37-
This library doesn't work properly in strict mode. So to avoid some issues, please disable strict mode in your react application first before using it.
37+
```bash
38+
Since version `1.4.0` of `gx`, you can use it with `strict mode` enabled.
39+
```
40+
41+
But, if you are using a version below `1.4.0`, you have to disable `strict mode` in your react application.
3842

3943
### Disabling strict mode on React
4044

@@ -99,7 +103,13 @@ For handle it, there is a special `createSignal` function for this case.
99103

100104
**Actions** represent functions that act to the state and make it changing over the time.
101105

102-
Your have to specify these `actions` when you create yours `signals`.
106+
You have to specify these `actions` when you create yours `signals`.
107+
108+
```txt
109+
Since version `1.4.0` of `gx`, you can use `async` actions.
110+
```
111+
112+
You can read more about it on the [documentation](https://gx.dilane3.com/docs/guide/async-actions)
103113

104114
### 3. Store
105115

@@ -146,6 +156,8 @@ const counterSignal = createSignal({
146156
export default counterSignal;
147157
```
148158

159+
If you want to use `async` actions, you can learn more about it on the [documentation](https://gx.dilane3.com/docs/guide/async-actions)
160+
149161
### Third step: Creating your store.
150162

151163
Inside the `store` directory, create an `index.js` file.

0 commit comments

Comments
 (0)