---
title: "Comment by Adediwura Boluro-Ajayi on \"Ways of Getting Data from API in React\" | Hashnode"
description: "Great post. I like how you differentiate between the class based component and function based component in terms of the lifecycle component method and the hook"
url: "https://hashnode.com/posts/ways-of-getting-data-from-api-in-react/606ad8c9b17dc439b747c8f5/comment/606b17f41ed1783ab0635e93"
---

[Discussion](https://hashnode.com/posts/ways-of-getting-data-from-api-in-react/606ad8c9b17dc439b747c8f5)

Comment [Ways of Getting Data from API in React](https://hashnode.com/posts/ways-of-getting-data-from-api-in-react/606ad8c9b17dc439b747c8f5)

[Adediwura Boluro-Ajayi](https://hashnode.com/@Adediwura)

[Apr 5, 2021](https://hashnode.com/posts/ways-of-getting-data-from-api-in-react/606ad8c9b17dc439b747c8f5/comment/606b17f41ed1783ab0635e93)

Great post. I like how you differentiate between the class based component and function based component in terms of the lifecycle component method and the hook system. I prefer the react-fetch-hook method best, fast and simple. Definitely worthy to be bookmarked.
