---
title: "Comment by José Pablo Ramírez Vargas on \"Stop Repeating Yourself: A Smarter Way to Fetch Data in React with Custom Hook\" | Hashnode"
description: "You should create the hook without using axios . This is why axios, ky and others are not good choices"
url: "https://hashnode.com/posts/stop-repeating-yourself-a-smarter-way-to-fetch-data-in-react-with-custom-hook/67da48e429e753eb3fd7b371/comment/67dda50e0f69495f4a13b4eb"
---

[Discussion](https://hashnode.com/posts/stop-repeating-yourself-a-smarter-way-to-fetch-data-in-react-with-custom-hook/67da48e429e753eb3fd7b371)

Comment [Stop Repeating Yourself: A Smarter Way to Fetch Data in React with Custom Hook](https://hashnode.com/posts/stop-repeating-yourself-a-smarter-way-to-fetch-data-in-react-with-custom-hook/67da48e429e753eb3fd7b371)

[José Pablo Ramírez Vargas](https://hashnode.com/@webJose)

[Mar 21, 2025](https://hashnode.com/posts/stop-repeating-yourself-a-smarter-way-to-fetch-data-in-react-with-custom-hook/67da48e429e753eb3fd7b371/comment/67dda50e0f69495f4a13b4eb)

You should create the hook without using `axios`.

[This is why axios, ky and others are not good choices](https://webjose.hashnode.dev/the-ugly-truth-all-popular-fetch-wrappers-do-it-wrong)

[Lahiru Shiran](https://hashnode.com/@lahirushiran)

[Apr 10, 2025](https://hashnode.com/posts/stop-repeating-yourself-a-smarter-way-to-fetch-data-in-react-with-custom-hook/67da48e429e753eb3fd7b371/comment/67dda50e0f69495f4a13b4eb#reply-67f70f2966176925d31a712a)

good point Using fetch helps keep things lightweight
