All quizzes
Free quiz · 20 questions in the bank

Preact quiz

Test your Preact knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

Why might server-side rendering (SSR) performance also benefit from choosing Preact over React in certain contexts?

Questions in this quiz
  1. Why might server-side rendering (SSR) performance also benefit from choosing Preact over React in certain contexts?
  2. What is a potential trade-off a team should consider before choosing Preact over React for a large, complex application?
  3. How does JSX usage in a Preact project typically compare to JSX usage in a React project?
  4. Why might a team choose Preact over React for a project where initial page load performance is a critical concern?
  5. What is a reasonable criterion for deciding when NOT to bother switching an existing React app to Preact?
  6. Why does Preact's close API compatibility with React lower the learning curve for React developers adopting it?
  7. How does the concept of "reconciliation" apply to Preact's rendering process, similarly to React?
  8. What is "preact/compat" used for?
  9. Why might migrating an existing React codebase to Preact (using preact/compat) be a reasonable path to reduce bundle size, without a full rewrite?
  10. What is signal-based state management (Preact Signals), and how does it relate to Preact's broader ecosystem?
  11. What role does the `h` function play in Preact, analogous to React's createElement?
  12. How does functional composition (breaking UI into small, reusable components) work in Preact compared to React?
Gaps to close?
Read the curated Preact notes — core concepts, patterns, interview prep.
Preact notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web