🐛 FIX: typo handle => handles

This commit is contained in:
sagar
2020-01-09 22:01:21 +05:30
parent 19f41b21e2
commit 103bb10639

View File

@ -3,7 +3,7 @@ title: useAsync
tags: hooks,state,effect,intermediate
---
A hook that handle asynchronous calls.
A hook that handles asynchronous calls.
- Create a custom hook that takes a handler `function` and `options`.
- Use the `React.useState()` hook to initialize the `value`, `error` and `loading` state variables.