arrow_backBACK TO DRILLS
White Beltserver-componentslockPREMIUM

Why event handlers require client components

A component only renders static text and fetched data from the filesystem. Another version adds an onClick handler to a button. Why does the second version require 'use client'?

lock

This Drill is Locked

This is a premium drill. Continue on to the next free drill in the sequence.

CONTINUE DRILLarrow_forward
BugDojo
BlogFAQ

© 2026. Carved in code.