481 Views
In my previous blog post, I explained the React Team's reasoning to add hooks to the library. We also compared a class component to a function component that utilized the useState and useEffect hooks. Today, we will walk through how to fetch NASA's API, display data to our browser, and explain where the two components vary.
0 comments