The Argument for CSS and HTML in React:

Keith J Grant:

"This coupling is real, and it is unavoidable. We must bind event listeners to elements on the page. We must update elements on the page from our JavaScript. Our code must interact bidirectionally and in real-time with the elements of the DOM.

... the mantra of React is to stop pretending the DOM and the JavaScript that controls it are separate concerns."

Keywords