Explain the term stateless components



Explain the term stateless components..

Answer / Afak Khan

Stateless components are functional components in React that don't have their own state. They only accept props from parents and render the same output for the same input (props).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More React.js Interview Questions

What is the second argument that can optionally be passed to setState and what is its purpose?

1 Answers  


What is the main goal of react fiber?

1 Answers  


why can’t browsers read jsx?

1 Answers  


What are the feature of reactjs?

1 Answers  


What is render() in React? And explain its purpose?

1 Answers  


What do you mean by reactjs?

1 Answers  


What is a higher order component?

1 Answers  


What is the use of React.Children.map(props.children, () => )?

1 Answers  


Explain the purpose of render() in react.

1 Answers  


What is the difference between stateful and stateless components.

1 Answers  


What is the difference between an element and a component in react?

1 Answers  


What are controlled and uncontrolled components?

1 Answers  


Categories