▲ | SebastianKra 7 days ago | |||||||
I thankfully migrated or left all Aurelia projects, but every time someone mentions it, I remember new horror stories. Its .html temples were shipped unmodified directly to the client (yes, including comments). Except they weren't actually html, and sometimes the browser would try to clean them up, breaking the template. Reactivity was achieved through all kinds of weird mechanisms (eg monkey-patching arrays to watch for mutations). It would frequently resort to polling on every tick or break completely. DI used TypeScripts experimental decorators, even long after it was clear that it would never become stable. On the other hand, templates weren't type checked. | ||||||||
▲ | pmanu 7 days ago | parent [-] | |||||||
Never had issues with the HTML. Templates sometimes showed comments in dev mode, but in production builds they were stripped and everything minified. I never used Webpack or other bundlers, only the "dumber.js" from their CLI, so maybe was something related to that? And yeah, probably they monkey-patched arrays and such, but that was just the way of the world before proxies and native signals. The cool part is Aurelia stuck to web standards, and those “weird mechanisms” were basically polyfills, so even old versions still run solid today, sometimes even faster by leveraging native features. | ||||||||
|