Working through a udemy course, feel totally stumped

So I am working through the Advanced Web Developer bootcamp over at Udemy, currently on the React parts. I feel that there is no explanation why he does things the way he does. Why does he structure components the way he does?

Sorry for my incoherent post. I am working through a tutorial for a simple match-2 game. And the instructor just states “and then I added this component to do this”, but he never mentions why he did it in that way or give any kind of high-level architecture view.

Maybe he is following a style guide[0] or is only a convention (or best practice)?[1]

[0] https://github.com/airbnb/javascript/tree/master/react#basic-rules

[1]ReactJS - Best Practices

Cheers and happy coding :slightly_smiling_face: