Unfortunately looking sane and being a good model are different.
One of Reacts greatest features is you’re just using JS for the logic - loops and conditionals are type checked, autocompleted, and already universally understood.
Template based solutions have existed since forever, but if given the choice I’d never use them.
Comments
Unfortunately looking sane and being a good model are different.
One of Reacts greatest features is you’re just using JS for the logic - loops and conditionals are type checked, autocompleted, and already universally understood.
Template based solutions have existed since forever, but if given the choice I’d never use them.
It's both: having both "sane" syntax and simple mental model is the key.
Good thing is TS is sane syntax. Also the examples were written fairly biased.