Test your Preact knowledge with a free interactive quiz — 20 questions with answers and explanations. No signup needed to play.
Question 1/12Score 0
What does Preact's virtual DOM diffing algorithm do, similarly to React's?
In this round
What does Preact's virtual DOM diffing algorithm do, similarly to React's?
What is a reasonable criterion for deciding when NOT to bother switching an existing React app to Preact?
What is a practical way a team can evaluate whether Preact's bundle-size benefit would meaningfully help their specific project?
What is the main technical distinguishing factor between Preact and React?
What is a common use case where Preact's small footprint is particularly valuable, distinct from a typical full single-page application?
What is signal-based state management (Preact Signals), and how does it relate to Preact's broader ecosystem?
What is a potential trade-off a team should consider before choosing Preact over React for a large, complex application?
Does Preact support React's Hooks API (useState, useEffect, etc.)?
How does JSX usage in a Preact project typically compare to JSX usage in a React project?
What is "preact/compat" used for?
Why is understanding bundle-size trade-offs (React vs. Preact) a useful part of a frontend developer's general architectural toolkit, even on projects that ultimately stick with React?
Why might migrating an existing React codebase to Preact (using preact/compat) be a reasonable path to reduce bundle size, without a full rewrite?