arrow_backBACK TO DRILLS
Black Beltserver-componentslockPREMIUM

What "use client" Actually Marks

A developer believes this component only ever renders in the browser and never touches the server.

REACT_MODULE // 0x42
'use client';

import { useState } from 'react';

export default function Counter() {
  const [count, setCount] = useState(0);
  return <button onClick={() => setCount(count + 1)}>{count}</button>;
}

Is that belief correct?

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.