Skip to content
TopicTracker
From overreacted.ioView original
TranslationTranslation

What Does "use client" Do?

The "use client" directive in React marks a component as a client component, separating it from server components. This allows developers to use client-side features like state, effects, and event handlers that aren't available in server components.

Related stories

  • The article discusses the Friend-Of-A-Friend (FOAF) concept for establishing trust relationships through social graphs. It notes that FOAF implementations have varied over time, ranging from complex cryptography and key-signing ceremonies to XML RDF formats.

  • The human.json protocol allows humans to assert authorship of their site content and vouch for others' humanity using URL ownership as identity. The author implemented this protocol on their website, making it available at evanhahn.com/human.json.