---
title: "Comment by Shashwat jaiswal on \"Custom Hooks in React: useFetch\" | Hashnode"
description: "Thank you so much for this! I was really struggling with calling the custom hook at a later time. I kinda hit a dead end and thought I might better off writing"
url: "https://hashnode.com/posts/custom-react-hooks-usefetch/62f116e1c1e76d621b3f76e3/comment/661e097d2fcb85005d08e752"
---

[Discussion](https://hashnode.com/posts/custom-react-hooks-usefetch/62f116e1c1e76d621b3f76e3)

Comment [Custom Hooks in React: useFetch](https://hashnode.com/posts/custom-react-hooks-usefetch/62f116e1c1e76d621b3f76e3)

[Shashwat jaiswal](https://hashnode.com/@okayhead)

[Apr 16, 2024](https://hashnode.com/posts/custom-react-hooks-usefetch/62f116e1c1e76d621b3f76e3/comment/661e097d2fcb85005d08e752)

Thank you so much for this! I was really struggling with calling the custom hook at a later time. I kinda hit a dead end and thought I might better off writing the entire thing inside my component, but thanks to you.

Now my hook resides in a separate component, nice and neat.

[Alyssa Holland](https://hashnode.com/@AlyssaCodes)

[Apr 18, 2024](https://hashnode.com/posts/custom-react-hooks-usefetch/62f116e1c1e76d621b3f76e3/comment/661e097d2fcb85005d08e752#reply-66206c2ff109d86da9a92c72)

Thanks for leaving a comment. I’m happy to hear that the article was helpful! 🙌
