Explain React classes, lifecycle, and hooks
Company: Snowflake
Role: Frontend Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Technical Screen
Quick Answer: This question evaluates understanding of React class and function components, lifecycle phases, Hooks (including state and effect handling), code reuse strategies, and common pitfalls such as stale closures and incorrect dependency arrays, measuring competency in frontend component architecture and state/side-effect reasoning.