What are stateless components in reactjs?
Answer / Kumar Gaurav Sagar
{"Stateless components": "Stateless components, also known as functional components, are React components that only contain a function and do not have their own state. They are created using ES6 arrow functions or plain JavaScript functions.nnExample: function Welcome(props) {n return <h1>Hello, {props.name}!</h1>;n}"
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the purpose of callback function as an argument of setstate()?
What is Redux Thunk used for?
What do you understand by virtual dom? Explain its working.
When would you use setstate() and forceupdate()?
Why reactjs is used?
What is the main goal of react fiber?
Explain lifecycle of a react component?
Can a developer create animations in React?
How to use https instead of http in create-react-app?
What is a state in react and how is it used?
What are the life cycle of reactjs?
How can we do server-side rendering in React?