Skip to content

Commit 34c70ea

Browse files
committedJan 6, 2021
spellcheck;
1 parent baca6a7 commit 34c70ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To fix, cancel all subscriptions and asynchronous task in "a useEffect cleanup f
1616
It uses [c-promise2](https://www.npmjs.com/package/c-promise2) to make it work.
1717
When it used in conjunction with other libraries that work with the CPromise,
1818
such as [cp-fetch](https://www.npmjs.com/package/cp-fetch) and [cp-axios](https://www.npmjs.com/package/cp-axios),
19-
you get a powerful tool for building asynchronous logic of your React components.
19+
you get a powerful tool for building asynchronous logic for your React components.
2020
You just have to use `generators` instead of an async function to make your code cancellable,
2121
but basically, that just means you will have to use `yield` instead of `await` keyword.
2222
## Installation :hammer:

0 commit comments

Comments
 (0)