3 ms·
VF and Aura overlapped. Aura was just a bad start and janky. We sometimes just did React instead, for a while. LWC is worlds better. And the local tooling with
by dd8601fn 10d ago
VF and Aura overlapped. Aura was just a bad start and janky. We sometimes just did React instead, for a while.
LWC is worlds better. And the local tooling with the cli and VSCode extensions is miles better than the old Eclipse/Sublime FMT days.
- WinstonSmith84 10d agoAura existed simply because Salesforce thought to be smarter than open source, well. Can't deny it though: Salesforce engineers were great on the backend, but frontend dev has never been their thing. Back then there was Angular 1 which was miles ahead. React was released shortly after Aura itself, so to say. LWC is what Aura shall have been 10+ years ago. And that ties back to what OP wrote: awful UX extremely slow bloated with JS. Now, don't talk me about VSCode Extensions. This is the perfect example of an awful dev experience. apex-jorje-lsp.jar with a JVM to parse Apex taking GB of memories, extensions taking dozens of seconds to load (when they load) ... In fact, the only decent LSP is aer, a simple decently working Go binary rather than the monster Salesforce shipped. The one good tooling Salesforce built in the last 15 years is, to some extent, the SF CLI - which came after the `force` CLI from the same guys who built `aer`, anyway. And nowadays, people can use that with their preferred editor from Zed to Vim with shortcuts from built upon the SF CLI. So no, Salesforce didn't do great with tooling, they just did the bare minimum waiting on the (small) community to give them the right ideas.
- prettychill 10d agoaura was open source for a long time. https://github.com/forcedotcom/aura https://github.com/forcedotcom/aura
- WinstonSmith84 10d agoThat's not what I meant. Salesforce had a choice to use (and support) battle tested frameworks, and decided instead to build their own one.
- prettychill 10d agoI think around 2012 there was not a lot of options for an enterprise rally around. Aura was designed and built in the same timeframe as react/angular/ember/etc iirc.
- abeyer 10d agoTo be fair, they came in with some requirements that I don't think anyone else had at the time, and even today aren't in any mainstream ones afaik. I think the biggest difference was around providing security and stability barriers between front-end components on the same page, with the intent of allowing you to compose a page that contains your own components and those of other third party applications you've installed with guarantees about how they can (and can't) interact. Not sure they couldn't have tacked that onto another framework, but it comes with enough trade-offs and compromises that I'm not sure anyone else would have wanted to upstream it, so they would have been forking something anyway. Aura wasn't much fun to work with, was never really feature complete, and not advocating for it... but it actually kind of made sense if you thought about front end with the context of how salesforce did security and multitenancy in mind.
- dd8601fn 9d agoAngular and React didn’t solve the same requirements, they were just somewhat workable stand-ins while Aura was jank. And the tooling is heavy, but I’ll repeat, it’s all miles better than it was back then. We traded janky and sparse for a full suite of pretty great tooling that can be a resource hog. Remembering the relative simplicity of the old stuff as “better” overall is just rose-tinted glasses.