We've just seen how we can visualize our data in a Visualforce page or a Visualforce component. You must be thinking about why you should use a Lightning component while you can develop a Visualforce page. There are many benefits to using Lightning components.
The following is a small overview of some of these benefits:
- Out of the box components: The Lightning Component framework comes with pre-built, out of the box components. You don't need to spend time creating a little framework to display a calendar when a user needs to fill in a date in a form because it's already there.
- Components ecosystem: You are able to build full apps and share these with other users or customers, or you can build small components and reuse these components on different pages.
- Cross-browser compatibility: Lightning components can be used...