How does React handle state management in components?
- Using Context API
- Using Redux
- Using component state
- Using props
React provides multiple ways to manage state in components, such as using component state, Redux for global state management, Context API for sharing state, and passing data via props.
Loading...
Related Quiz
- What is the role of middleware in Express.js, a popular framework for Node.js?
- What is the difference between deadlock prevention and deadlock avoidance?
- What is the difference between white-box testing and black-box testing?
- The ___________ design pattern separates an algorithm from the object that uses it, allowing the algorithm to vary independently.
- In Git, a ___________ is a snapshot of the project's files at a specific point in time.