When it comes to the folder structure, we feel Reactjs is very opinionated and gives you a lot of freedom to think and experiment. There’s no default way of managing the folder of your React application.
Think of your HTML code as a tree. In fact, that is exactly how the browser treats your DOM (your rendered HTML on the browser). React allows you to effectively re-construct your DOM in JavaScript and push only those changes to the DOM which have actually occurred.