---
title: "Discussion on \"How to Share Components Between Server and Client in NextJS\" | Hashnode"
description: "Discussion on \"How to Share Components Between Server and Client in NextJS\". Next.js App Router splits your app into Server Components and Client Components. Server Components run on the server and keep secrets safe. Client Components run in the browser and handle interactivit"
url: "https://hashnode.com/posts/how-to-share-components-between-server-and-client-in-nextjs/69c6eb7c7cf27065104ba964"
---

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

Discussion

# [How to Share Components Between Server and Client in NextJS](https://freecodecamp.org/news/how-to-share-components-between-server-and-client-in-nextjs?utm_source=hashnode&utm_medium=feed)

Next.js App Router splits your app into Server Components and Client Components. Server Components run on the server and keep secrets safe. Client Components run in the browser and handle interactivit

Mar 27 · 13 min read · freecodecamp.org  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#components](https://hashnode.com/tag/components)

## Written by

[David Aniebo](https://hashnode.com/@davidaniebo)

@davidaniebo

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

Driven by clarity, powered by code.

Software Engineer focused on building and maintaining reliable systems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
