Newer Version Available
When Should I Use Lightning Web Components Instead of Visualforce?
Lightning web components follow modern web standards, they’re easy to reuse inside and outside the platform, they’re highly performant, and they adapt well to different form factors. Converting Visualforce components to Lightning web components is not a simple swap, but the process provides an opportunity to refine and improve your apps. So take a moment to evaluate the overall design and usability of each component and its equivalent. Work with your designer to decide on the best way to align your component with the more modern look and feel of the Lightning Experience user interface. For inspiration and some sample code, see the component blueprints provided in the Lightning Design System.
As you begin developing Lightning web components, you need to decide when to reuse a Visualforce page within Lightning Experience and when to rebuild it as a Lightning web component. Seriously consider rebuilding when you want:
- A more engaging and responsive user experience.
- An experience that’s easy to optimize for multiple device form factors.
- Better performance in your app.
For new development, we always recommend using the Lightning Experience low-code tools and Lightning web components. They offer a variety of benefits and simplify the development process.