Open utterances-bot opened 3 months ago
Great tutorial! But here's a few places where I got confused.
The different code blocks like ScoreDisplay.js and Scoreboard.js are actually JSX files, so it would be less confusing if you could name the code blocks as ScoreDisplay.jsx and Scoreboard.jsx.
In the Scoreboard example, you used a "functional component to keep things simple", and added useState() to maintain its state. But earlier in the Functional vs Class components description, you said that functional components "are stateless, meaning they don't have their own internal state". This is a bit confusing. ;)
How to Build a Dynamic Scoreboard with React - Webtips
Learn how you can build a dynamic scoreboard with React from start to finish in this step by step tutorial.
https://webtips.dev/dynamic-scoreboard-with-react