Question Bank · Section 02

State & Props

9 questions. How React components receive data through props, own data through state, update it immutably and validate inputs.

State and props are the two inputs that decide what every component renders, so interviewers use them to check your mental model of React. Expect questions on how they differ, how state updates work, why immutability matters and how to validate props with PropTypes or TypeScript.