Question Bank · Section 06
State Management
15 questions. Local, shared, server and global state in React: where to keep it, Context vs Redux Toolkit, normalization, and avoiding unnecessary re-renders.
State management is where most real-world React bugs and performance problems come from, so interviewers use it to separate people who have shipped apps from people who have only read docs. Expect questions on choosing where state lives, Redux Toolkit internals, Context pitfalls, and scenario questions about re-renders in large dashboards and tables.
01What is State in React?02What are Different Types of State in React?03Scenario: How do you decide where to keep state?04Explain Redux Toolkit Architecture05Why Redux Toolkit Instead of Redux?06How will you manage authentication in a React application?07Your dashboard has 50 components. Updating one component causes many components to re-render. How will you optimize?08You have a table displaying 10,000 users. Updating one row re-renders the entire table. How will you solve?09Product list is used in Navbar, Sidebar, and Product page. How will you manage it?10Context API vs Redux Toolkit11You used Context API but every component is re-rendering. Why?12How do you manage state in a complex React application?13What is Normalization in Redux?14How will you manage chat state?15What is Immer?