4 ms·
Just a note paraphrasing a Medium post that I encountered that extends point 2: it's a lot more robust to work with a framework that essentially puts HTML into
by foxhedgehog 11y ago
Just a note paraphrasing a Medium post that I encountered that extends point 2: it's a lot more robust to work with a framework that essentially puts HTML into Javascript rather than many alternatives, which essentially do the reverse. Javascript is a lot more complex than HTML, and yet most of the alternative JS frameworks attempt to compress some version of its logic into templating.
- mattmanser 11y agoSo we should throw away decades of practical experience in all the other platforms that this is a bad idea because some blog post said so?
- foxhedgehog 11y agoSurely your decades of practical experience can instance an evidence-based response here.
- mattmanser 11y agoWhy the personal attack? It's not a 'new' complaint about React, it's been said plenty of times, go do your own research.
- foxhedgehog 11y agoObserving that your only point of evidence is your own unsubstantiated personal opinion is not the same thing as conducting a personal attack.
- yoz-y 11y agoWhat other platforms embed a subset of a language into the templating one? I've only seen this done in HTML. Even "back then" I opted to use pure PHP for templates rather that trying to use some comment magic based DSL that does little more than variable replacement and a for loop. The templates in Angular for example are a good example of what is wrong with stuffing code into templates rather than going the other way around.