Skip to content

Commit 2228a53

Browse files
Paul Wang 王晨宇Paul Wang 王晨宇
authored andcommitted
update readMe
1 parent ddb4acb commit 2228a53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const options = useMemo(() => ({
156156
doRequest().then((r) => do something after success).catch((e) => do something when error)
157157
```
158158

159-
`doRequest``reset``abort` These functions identity are stable and won’t change on re-renders.
159+
`doRequest``reset``abort``updateData` These functions identity are stable and won’t change on re-renders.
160160
So you can safe to include or omit from the useEffect dependency list
161161
```js
162162
useEffect(() => {

0 commit comments

Comments
 (0)