6 ms·
"Angular 2 continues to put “JS” into HTML. React puts “HTML” into JS." It seems fairly obvious to me that both approaches are wrong.
by craigvn 11y ago
"Angular 2 continues to put “JS” into HTML. React puts “HTML” into JS."
It seems fairly obvious to me that both approaches are wrong.
- iLoch 11y agoHave you tried either? What is your concern with mixing the two? JSX is optional, by the way. I have a problem with JS into HTML because that's pseudo-coding. JSX tags are representations of classes and class instances, which makes a lot more sense than a totally new DSL for scripting.
- housecor 11y agoDo you have an alternative approach to propose?