AI Hints
Home›React Tutorial›Debugging and the Project Plan
React · Lesson 89 of 120

Ecosystem Quiz

Test yourself.

⏱ 2 min read▶ Video at 1:15:46🎓 Free
Watch this lesson in the React courseWatch on YouTube ↗Full React course

Let's review this section. Pause after each question, and answer before I do.

  • Ecosystem quiz
  • Pause and think
  • Then check

Question 1

What should you do before optimizing? Measure with the profiler.

Quick check
Before optimizing, you should:

Question 2

How should tests find a button? By its role and name, the way a user would.

Quick check
Tests should find a button by:

Question 3

Which folder does vite build create? Dist.

Quick check
vite build writes to:

Question 4

Can a server component use state? No. Client components handle state and events.

Quick check
Server components can use state:

Summary

Well done. Next, our big project, starting with the plan.

Key takeaways
  • Measure
  • Test like users
  • Build and ship
Next up: Project: The Plan — Northwind shop