Will Lightning Web Components have retrocompatibility?

I’ve just read here that Salesforce decided to change the framework used for Lightning Components. According to this article, it seems very powerful under some aspects. In your opinion, do you think the actual Lightning Components (Aura) will work in the future? I’ve an entire org developed with Aura Components and I’m a bit afraid of it.

Answer

Having played a little with lightning web component during pilot, I think yes sooner or later everyone will be using lightning web components to build their apps. To begin with currently what i know is it lacks support for communities or flows and many other areas (Official docs are yet to be released so we will come more when docs go out on 17th Dec). However eventually (may be an year from now ) I think Salesforce will make every attempt to add the support lwc everywhere with time.

Why I think LWC is future?

  1. Excellent ES6 and beyond Javascript support.

  2. Faster rendering performance.

  3. Consistent with the webcomponent framework specifications from w3 (https://www.w3.org/standards/techs/components#w3c_all)

  4. Excellent tooling support .(Salesforce built great tooling utility – https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode-lwc)

  5. The syntax and semantics looks to be very clear and adheres to the current webcomponents standards.

Current State Of Aura

  1. Still supported by salesforce and going to be supported
  2. Salesforce looks to have great documentation (available in spring 19 orgs) on how to use aura with lightning web components as well how to migrate your existing aura components to lightning web components.

I am sure salesforce will support aura for long time as it will take few more years for them to replace everything under the hood(Safe harbor and note that I don’t work for salesforce so do not buy in just based on what write or speak).

I think you should support your aura components and keep enhancing
them however start the learning path by playing with docs. Since the
product will be GA in new year, if you have a new component coming up
surely look to build using the LWC.

For existing components take opportunity to ask few questions

  1. Should I redesign with better UX as a part of lwc migration?
  2. What were some of the bottlenecks you encountered when building with aura . Does the new framework fill them?
  3. What your end users want from the components you have. Your release backlog. If you think LWC will fulfill some of these requirements at a greater velocity then I would say just go for it knowing its going to GA so you know you will have access to support on this.

Attribution
Source : Link , Question Author : DarkSkull , Answer Author : pchittum

Leave a Comment