Loading…

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.

Example

                                        

Import React from ‘react’;

const ABC = (props ) => {

           <div>

               <h1>Hello World</h1>

          </div>  

}

export default ABC;

Suggest An Answer

No suggestions avaliable!

Latest post from React js interview questions

Ask Question