In this episode we start work on our cryptocurrency dashboard, using a JSON API to pull our data from via a 10 second poll action. In part one we build the cryptocard component to track the price and price change.
Youtube: https://youtu.be/3ohRNCa1YaU ReactU: https://reactu.io/screencasts/6
Help keep ReactU free by donating to the project:
- Bitcoin: 1LxbzzxogbJrxT8d7e2CpnxQRezpzSJejq
Video length: 32:22 Skill level: Beginner
What you will learn
- Using fetch to call a JSON API
- Using setInterval to poll resources
- Using internal component state
- Styling components based on state