Introduction to Lightning Web Runtime on Node.js
Some benefits of LWR are:
- Performance—Thanks to page generation at build time, not runtime, our bar is set at subsecond full-page loads.
- Friction-Free—An enjoyable local development experience.
- Power—All the power of Lightning Web Components and the Salesforce platform at your disposal.
LWR describes any configurable aspects of the application in a well-defined, portable format. Because of this flexible deployment model, you can deploy on a variety of runtime environments, depending on your use case. For example, LWR works in a local Node.js runtime or as a standalone instance in Heroku.
In fact, the site you are on right now—developer.salesforce.com—was built with LWR.
LWR powers Experience Cloud, which provides fully managed solutions for customers who want to build websites, portals, and commerce projects. Experience Cloud provides a generally available version of LWR, for customers who don’t want or need to fully manage their own LWR solution.
LWR on Node.js is available now for developer preview as an NPM package, for early testing and feedback. It enables you to have an unmanaged solution, where you can bring your own tooling and code, to build amazing experiences, both on and off Salesforce. From static websites to single-page applications, LWR and the Salesforce platform empower you to do more, by offering increased flexibility combined with high scalability and performance.
We love to hear your comments or questions! Use the LWR on Node Trailblazer community topic to raise your questions.
And keep checking back for more details on how to use the flexibility of LWR to build web apps, blogs, as well as deploy to different hosting environments. LWR is just getting started, and we're excited that you are on this journey with us.