Functional Components in React

This components are used in case there are no use of states (and variable data to handle). A functional component is not preferred in case of data management is done in the component, Like definind a state which holds name, regno ,phone no, email etc., But it is useful if it is used to perform …

React Components

The first thing to learn in react is components. What are they? Why are they used ? Components are building blocks to react applications. For example consider a home page which contain menu sidebar and footer and post section. Here each part of the page are separate components. Menu is separate component, sidebar is separate …

Design a site like this with WordPress.com
Get started