The Salesforce Developers website will undergo maintenance on May 29, 2024 from 3:00 a.m. UTC to 10:00 a.m. UTC. The maintenance process may affect the availability of our documentation. Please plan accordingly.

Get Started with Lightning Web Runtime on Node.js

With Lightning Web Runtime (LWR) on Node.js, you can develop digital experiences that meet the high scale, security, and performance demands of modern web applications. LWR is a non-opinionated way to configure and load the modules, services, and dependency providers you need to build a JavaScript app. We actually built this site, developer.salesforce.com, with LWR.

Web development with LWR is:

  • Performant—Thanks to page generation at build time, not runtime, our bar is set at subsecond full-page loads.
  • Frictionless—An enjoyable local development experience.
  • Powerful—Use the power of Lightning Web Components and the Salesforce platform with your LWR apps.

LWR describes any configurable aspects of an application in a well-defined, portable format. Its flexible deployment model lets you run applications in a variety of environments, from a local Node.js runtime to a standalone Heroku instance.

LWR on Node.js is available in developer preview as an NPM package. You can bring your own tooling and code to build static websites, single-page applications, and more - on and off Salesforce. Experience flexible, scalable, and performant web development with LWR and the Salesforce platform.

We love hearing your comments or questions! To share feedback with us, post it in the LWR on Node Trailblazer community topic.

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.

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.