What is Function Based Component?

Basically Function Based Component are the component which are made by JavaScript Functions.It takes props as argument and return JSX.



Import React from ‘react’;

const ABC = (props ) => {


               <h1>Hello World</h1>



export default ABC;

Suggest An Answer

No suggestions avaliable!

Latest post from React js interview questions

Ask Question