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 XYZ = (props ) => {
     <div>
          <h1>React Interview Questions</h1>
     </div>
}
export default XYZ;

Suggest An Answer

No suggestions Available!