by tannhaeuser · 7y ago · 0 comments
React takes a different approach. It doesn't "pretend" to be HTML by extending it with custom directives. Instead, it forces you to start the journey in JS land. That can be frustrating at first if you're unfamiliar with JS. But the gap between "simple" and "complex" is smaller: you learn the idea of components once, and can apply it with or without a toolchain.
I know at the end of the day, they both still come out as HTML and JS in the browser, but React just feels cleaner. At least to me.