---
title: "Discussion on \" Server Components vs Client Components (Next.js)\" | Hashnode"
description: "Discussion on \" Server Components vs Client Components (Next.js)\". \"Just add 'use client' to fix it\" is the JavaScript equivalent of turning it off and on again — it works, but you've skipped understanding why it was broken."
url: "https://hashnode.com/posts/server-components-vs-client-components-next-js/6aa420f1e6b6cbb95c0b8997"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Server Components vs Client Components (Next.js)](https://jayesh-sojitra.hashnode.dev/server-components-vs-client-components-next-js?utm_source=hashnode&utm_medium=feed)

"Just add 'use client' to fix it" is the JavaScript equivalent of turning it off and on again — it works, but you've skipped understanding why it was broken.

Sep 11 · 4 min read · jayesh-sojitra.hashnode.dev  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#clean-code](https://hashnode.com/tag/clean-code)
-   [#learntocode](https://hashnode.com/tag/learntocode)
-   [#nextjs-app-router](https://hashnode.com/tag/nextjs-app-router)

## Written by

[Jayesh Sojitra](https://hashnode.com/@jayeshsojitra)

@jayeshsojitra

  
[View profile](https://hashnode.com/@jayeshsojitra)

Jayesh Sojitra | AI &amp; Frontend

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
