Skip to content

Commit 0535d41

Browse files
committedOct 13, 2023
Update readme
1 parent bc93655 commit 0535d41

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed
 

‎README.md

+14-2
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)
Please sign in to comment.