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 |
What is the second argument that can optionally be passed to setState and what is its purpose?
What is the main goal of react fiber?
why can’t browsers read jsx?
What are the feature of reactjs?
What is render() in React? And explain its purpose?
What do you mean by reactjs?
What is a higher order component?
What is the use of React.Children.map(props.children, () => )?
Explain the purpose of render() in react.
What is the difference between stateful and stateless components.
What is the difference between an element and a component in react?
What are controlled and uncontrolled components?