What are children prop?



What are children prop?..

Answer / Brahma Nand

Children prop is a special prop that represents the elements (or sub-components) enclosed between the opening and closing tags of a functional component. It allows components to accept arbitrary child nodes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More React.js Interview Questions

What is Context in React?

1 Answers  


What is the lifecycle methods order in mounting?

1 Answers  


What do you mean by reactjs?

1 Answers  


What is the life cycle of reactjs components?

1 Answers  


How react router and its techniques differ from more traditional javascript routers like backbone’s router?

1 Answers  


Differentiate between stateful and stateless components?

1 Answers  


What is redux and flux?

1 Answers  


What are the limitations of reactjs?

1 Answers  


What are the methods called when component is created or while inserting it to dom?

1 Answers  


What are the popular animation package in React ecosystem?

1 Answers  


What is a state in reactjs and how is it used?

1 Answers  


What is the difference between stateful and stateless components.

1 Answers  


Categories