Frontend Engineer · interview questions

Frontend Engineer interview questions: why

From the role's core and recommended topics, most asked first. Filter by the kind of answer the question wants.

React Developer Core 3

  1. Most asked Why must React state be updated immutably, and how do you update nested state?
  2. Why can React Context cause performance problems, and how do you mitigate them?
  3. Why did the React ecosystem move from Create React App to Vite and frameworks?

TypeScript Developer Core 7

  1. Most asked Why do you still need runtime validation in TypeScript, and how do libraries like Zod help?
  2. Why does `Object.keys(obj)` return `string[]` instead of `(keyof T)[]`?
  3. Why does `Omit` behave unexpectedly on union types, and how do you fix it?
  4. Why should you avoid the `Function` type?
  5. Why are classes with private members compared nominally?
  6. Why combine `as const` with `satisfies`?
  7. Why can a function with fewer parameters be assigned to a function type with more parameters?

HTML & CSS Core 4

  1. Why must every form field have a label, and how do you associate one?
  2. Why isn't client-side validation enough?
  3. Why use button and a instead of a clickable div?
  4. Why should you declare the character encoding, and how?

Next.js Developer Core 2

  1. Why don't layouts re-render on navigation, and what are the implications?
  2. Why does `next/image` require `remotePatterns` for external images?

Vue.js Developer Recommended 3

  1. Most asked Why does v-for need a key, and why should it not be the index?
  2. Most asked Why does destructuring sometimes lose reactivity in Vue, and how do you avoid it?
  3. Why should you not use v-if and v-for on the same element?

Tailwind CSS Recommended 2

  1. Most asked Why doesn't className={`bg-${color}-500`} work, and what should you do instead?
  2. Why might a dropdown with z-50 appear behind another element?

Web Security & WAF Recommended 1

  1. Why are security logging and monitoring failures in the OWASP Top 10?

Performance & Scalability Recommended 3

  1. Most asked Why are timeouts, retries and circuit breakers essential for performance and reliability?
  2. Why should application servers be stateless, and where does state go?
  3. Why does tail latency matter more as systems fan out?

Was this page helpful?

Report a mistake