Learning ReactJS can be difficult at times. With this simple but fun project, there is so much that you can learn. The premise is simple: using the Marvel API to create a library or search engine for superheroes.
In this episode of learn React with me I am going to introduce 2 main topics:
1. Routing: React allows, thanks to React Router to create one-page applications and support simple routing
2. Fetch data from an API: frontend frameworks and libraries such as React are very powerful when it comes to managing state (or data) and one of the most common uses of these powerful tools is to consume data from an external source (such as a web API) and to elaborate, parse or process those data to then be displayed nicely onto the webpage.
If you haven't done so yet, consider subscribing to this channel to enjoy more content like this one, and a like and share is always welcome.
I'll see you at the next one. Ciao
BeGeos
Social:
Twitter: / begeosdev
GitHub: https://github.com/BeGeos
Timestamps:
0:00 Intro
2:29 Setup the Marvel API account
15:42 Create React App
Music:
https://www.bensound.com