Comment by robertoandred
1 month ago
Correct, 'use client' means it can render in the browser, not that it only renders there. Rendering only in the browser would break SSR.
If you try to use browser functionality in a component without 'use client' or to use server functionality in a client component, you'll get an error.
No comments yet
Contribute on Hacker News ↗