0
Anyone simple explain about reactjs functional component?
2 ответов
+ 1
To understand functional component, you need to understand props and JSX.
Functional component is function with props argument and return JSX
const Comp = function (props) {
return ( /* JSX here */ );
}
Do you know what are props and JSX in ReactJS?
0
JSX I know... Can you please elaborate about props