arrow_backBACK TO DRILLS
Black Belt - Hardserver-componentsPREMIUM
What "use client" Actually Marks
A developer believes this component only ever renders in the browser and never touches the server.
//REACT_MODULE
'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?