Introduction to React.js | Components
React.js is the JavaScript library for building user interfaces.
React.js consists of components and there are two main types of components.
The basic type of component is a class component which inherits from React.Component.
The second type of component is function component.
It takes parameter as input and JavaScript extension as output.
When you create a react.js file, you get a Default parent Component named APP as shown below:
Comments
Post a Comment