Introduction to React JS components
Before getting started with the actual implementation of the QR code generator application, let’s look into the necessary concepts you need to know. In this module, we will look into the basic concept behind the actual working of triggering the QR code generator application in JavaScript.
Components
Components play an important role in the React JS framework. Components are based on the ‘break it down to build it’ concept, which means each component is developed individually and then assembled to build a complete user interface. It provides:
- Component reusability across different parts of the application to reduce writing repeated codes.
- The efficient way to test each component, rectify the errors and modify only the specific component.
- Consistent user interface to ensure a uniform look and feel throughout the application.


