means that most of your components should not need a “use server” or “use client” directive.
use client is needed here since we are using React hooks
When you use the “use client” directive to make a client component, it doesn’t mean that it only renders on the client-side. In fact, most client components are rendered on the server when doing server-side rendering (SSR) or static site generation (SSG).
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.