3 ms·
... or don't write how your HTML is supposed to look from JavaScript. I like Angular's approach the best. You have an HTML file, a SCSS file, and a TS file. Th
by itslennysfault 4y ago
... or don't write how your HTML is supposed to look from JavaScript.
I like Angular's approach the best. You have an HTML file, a SCSS file, and a TS file. The TS file is essentially your model and handles all the thinking. HTML/SCSS are kept declarative like god intended.
- Ambroos 4y agoDo you genuinely think Angular's template language and all the complexity it comes with is better than JSX just saying "anything between {} is plain JS"?