3 ms·
> Templates are usually compiled into native javascript code once no they aren't. > (or at least, can and should be) not by default. React doesn't have temp
by aikah 11y ago
> Templates are usually compiled into native javascript code once
no they aren't.
> (or at least, can and should be)
not by default. React doesn't have templates at all ,so case closed.
- 91bananas 11y ago> no they aren't. says who?
- aikah 11y agosays the angular team that wants to copy how react works and ditch old angular 1.x templates. Why do you think they are creating an entire new framework? because the old version was good enough? no. 2.x means the whole 1.x was an architecture mistake.
- awinder 11y agoOkay, but react has a bunch of performance and design pitfalls that one could fall into just as easily as not compiling templates. In fact, probably easier to fall into, because compiling templates is a best practice thats built into scaffolding libraries and discussed all over the place.