Putting HTML and JS in different files doesn&#x27;t make them separated. They are still bound by logic. It&#x27;s an imaginary separation with obscure dependencies. I very much prefer the React way of bundling things that in reality belong together.