Q1
Explain the difference between client-side rendering (CSR) and server-side rendering (SSR). When would you choose one over the other, and what are the trade-offs in terms of performance and SEO?
Why they ask this:* This tests your understanding of fundamental frontend architecture decisions and whether you can evaluate trade-offs based on project requirements.
Q2
Walk us through how you would optimize a React application that is experiencing performance issues. What tools would you use to identify bottlenecks, and how would you implement solutions like code splitting, memoization, or lazy loading?
Why they ask this:* This assesses your practical experience with performance debugging and your knowledge of modern optimization techniques critical for production applications.
Q3
Describe how you would handle state management in a medium-sized application. Would you use Context API, Redux, Zustand, or another solution, and why?
Why they ask this:* This evaluates your ability to choose appropriate tools for complexity levels and your understanding of when to scale beyond built-in solutions.
Q4
How do you approach writing accessible HTML and CSS? Walk us through specific techniques you use to ensure your components meet WCAG 2.1 AA standards.