---
title: "Comment by Mohamad Ghaith Alzin on \"Most Awesome Hooks for your React project\" | Hashnode"
description: "Brayan Arrieta Alfaro Thank you for this very helpful Hooks example usage but I want to point out that there is a little warning that I got with this line of co"
url: "https://hashnode.com/posts/most-awesome-hooks-for-your-react-project/60689d4d1ed1783ab0633311/comment/609a892b5a2dfa679dc78ff7"
---

[Discussion](https://hashnode.com/posts/most-awesome-hooks-for-your-react-project/60689d4d1ed1783ab0633311)

Comment [Most Awesome Hooks for your React project](https://hashnode.com/posts/most-awesome-hooks-for-your-react-project/60689d4d1ed1783ab0633311)

[Mohamad Ghaith Alzin](https://hashnode.com/@Alzin)

[May 11, 2021](https://hashnode.com/posts/most-awesome-hooks-for-your-react-project/60689d4d1ed1783ab0633311/comment/609a892b5a2dfa679dc78ff7)

[Brayan Arrieta Alfaro](https://hashnode.com/@brayanarrieta) Thank you for this very helpful Hooks example usage but I want to point out that there is a little warning that I got with this line of code at the useFetch Hook section,

![1.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1620740315942/f53-m8dOB.png)

![2.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1620740322039/t7tVnamBL.png)

So if you take a look, it seems the useEffect hook depends also on the error value besides the url and options!

[Brayan Arrieta Alfaro](https://hashnode.com/@brayanarrieta)

[May 11, 2021](https://hashnode.com/posts/most-awesome-hooks-for-your-react-project/60689d4d1ed1783ab0633311/comment/609a892b5a2dfa679dc78ff7#reply-609a8a4e0375d467ca5c1b23)

That is an error I will correct that thx for the feedback really helpful 👍

[Mohamad Ghaith Alzin](https://hashnode.com/@Alzin)

[May 11, 2021](https://hashnode.com/posts/most-awesome-hooks-for-your-react-project/60689d4d1ed1783ab0633311/comment/609a892b5a2dfa679dc78ff7#reply-609a8d410375d467ca5c1b42)

[Brayan Arrieta Alfaro](https://hashnode.com/@brayanarrieta)

It's my pleasure and if you like you can edit the blog and provide people with codesandbox URLs for the above hooks as working examples you can either fork the codes to your workspace on codesnadbox or just use them from my workspace!

-   useTimeout Hook example

[codesandbox.io/s/settimeout-example-timer-qtnih](https://codesandbox.io/s/settimeout-example-timer-qtnih?file=/src/App.js)

-   usePrevious Hook example

[codesandbox.io/s/useprevious-example-luyyj](https://codesandbox.io/s/useprevious-example-luyyj)

-   useInterval Hook example

[codesandbox.io/s/useinterval-hook-timer-s3qb2](https://codesandbox.io/s/useinterval-hook-timer-s3qb2)

-   useFetch Hook example

[codesandbox.io/s/usefetch-hook-json-data-from-a-u…](https://codesandbox.io/s/usefetch-hook-json-data-from-a-url-dymp4)

[Brayan Arrieta Alfaro](https://hashnode.com/@brayanarrieta)

[May 11, 2021](https://hashnode.com/posts/most-awesome-hooks-for-your-react-project/60689d4d1ed1783ab0633311/comment/609a892b5a2dfa679dc78ff7#reply-609acec800bbde79d86a500e)

[Mohamad Ghaith Alzin](https://hashnode.com/@Alzin) That sounds great, I will check that change when have some time
