React components are JavaScript functions that return markup.
React components need to return a single JSX element and not multiple adjacent JSX elements like two buttons. To fix this you can use Fragments (<> and </>)
By default, all child components re-render automatically when the state of a parent component changes.
Addingexport default
tells your index.js file to use the Game component as the top-level component instead of your Board component.
It’s strongly recommended that you assign proper keys whenever you build