You will also learn how to leverage React hooks, built as an abstraction of the native JavaScript timeouts and time intervals. For styling the application we will use CSS Modules with SASS.
Here's what we'll be building:
💡If you want to skip the reading, here 💁 is the GitHub repository, and here you can see the live demo 📺.
A live scoreboard is a digital sport scoreboard that automatically displays up-to-the-minute sports scores and data from a certain game – for example a football game. This way it’s much easier for the users to follow the game, make predictions or bets, and so on.
Our application is going to reflect such a board, but in the browser.
Our application has just a few dependencies and several components. It also uses JavaScript timeouts and intervals to simulate real-time score updates.