0

Anyone simple explain about reactjs functional component?

31st Aug 2020, 3:57 PM
Priyanka sundar
Priyanka sundar - avatar
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?
1st Sep 2020, 3:08 AM
Calviղ
Calviղ - avatar
0
JSX I know... Can you please elaborate about props
1st Sep 2020, 5:33 AM
Priyanka sundar
Priyanka sundar - avatar