LWC vs LWR


LWC (Lightning Web Component) and LWR (Lightning Web Runtime) are two different and complementary technologies in the Salesforce Lightning Platform.

LWC (Lightning Web Components) is a modern web development framework developed by Salesforce for building single-page applications on the Lightning Platform. 

LWC uses a component-based architecture, where each component is an encapsulated unit of functionality that can be reused and combined with other components to create complex applications. 

LWC leverages modern web standards such as Web Components, ECMAScript 6, and Shadow DOM to provide a faster and more efficient user interface.

On the other hand, LWR (Lightning Web Runtime) is a technology that allows developers to build standalone web applications using LWC components and run them outside of Salesforce. 

With LWR, developers can build modern, single-page web applications that can run on any platform, including mobile devices and external websites. 

LWR leverages the same standards and technology as LWC to ensure a seamless experience between the two platforms. 

In summary, LWC is a web development framework for building applications on the Salesforce Lightning Platform, while LWR is a technology that extends LWC's capabilities by enabling developers to run LWC components outside of Salesforce.

0 Comments