Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Intro to Next 13 Server Components
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Callum Silcock
March 09, 2023
Technology
350
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Intro to Next 13 Server Components
A lightning talk on the new Next 13 BETA Server Components feature and how to use them
Callum Silcock
March 09, 2023
More Decks by Callum Silcock
See All by Callum Silcock
Unlocking Lockfiles - A Developers Guide to Package Management
csilk
0
230
Attacking the Frontend
csilk
0
300
Advanced Testing concepts
csilk
0
440
Automating Design Review with Visual Regression
csilk
0
500
🎟 Tech Delivery Blueprint (Agile)
csilk
0
63
Using Given / When / Then with Cypress
csilk
0
1.5k
Intro To Basic UX Concepts
csilk
0
180
ReactJS For Beginners
csilk
0
130
What is Redux (vs. MVC)
csilk
1
210
Other Decks in Technology
See All in Technology
DevelopersIO 2026 Tokyo 現時点の衛星通信サービスの現状を整理してみる
maroon1st
0
280
Claude for Google Workspaces ポン出し/claude-for-google-workspace-slide-conversion
emiki
0
11k
AWSDirectConnectの構築の進め方を整理してみた
masa_my
1
170
AWS Continuum for Penetration Testing に Deep Dive してみる
asanoharuki
1
1.1k
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
4
680
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
230
AWSセキュリティで活用するAI機能
cmusudakeisuke
1
280
クラウドエージェントの先駆け Devin。今も最先端を走る、他との違い
kinopeee
0
110
書き手が人でもAIでも正しくなる道、SREを埋め込んだDeveloper Platform / tech drivers day8
chmikata
2
320
ガチで放置できるClaude Code実行環境の作り方.pdf
lamaglama39
5
9.4k
【データ横丁主催】AI エージェント時代のTranslytical Data Platform
shisyu_gaku
0
280
Teaching Python with three kinds of AI
reuven
0
110
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Darren the Foodie - Storyboard
khoart
PRO
4
4k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
960
How to make the Groovebox
asonas
2
2.5k
The Curse of the Amulet
leimatthew05
3
16k
GraphQLとの向き合い方2022年版
quramy
50
15k
My Coaching Mixtape
mlcsv
0
360
Transcript
🛄 VS 📳 NEXT 13 SERVER COMPONENTS Another CodingWithCallum™️ Session
⚡️ lightning talk ⚡️
🛄 SERVER COMPONENT A component that is fetched and rendered
ON THE SERVER
📳 CLIENT COMPONENT A component that is fetched and rendered
ON THE CLIENT
EXAMPLES
None
USING SERVER COMPONENTS 🛄 Only download HTML built by the
server Instant render Speed 🏃♀️💨 + the JS required for the client components (if any) react cached Make direct API calls (server to server)
NOT USING SERVER COMPONENTS 📳 Install all JS Dependencies to
run the site React etc. Then grab all our Client JS Components Then render
WHEN TO USE SERVER 🛄 VS CLIENT 📳 COMPONENTS Need
to access browser related stuff = Client Component Anything Else? = Server Component
None
INTERLEAVING
HOW DO I DEFINE A CLIENT 📳 COMPONENT 'use client';
import { useState } from 'react'; export default function Counter() { const [count, setCount] = useState(0); return ( <div> <p>You clicked {count} times</p> <button onClick={() => setCount(count + 1)}> Click me </button>
</div> );
SHARED COMPONENT 🛄📳 What if something is Server And Client
Wait what?
SHARING DATA FROM 🛄 SERVER TO 📳 CLIENT Make your
API requests on the server Keep as many dependencies on the server as possible Eg. pass i18n translations from server > client to avoid client code (prop drilling in this case is OK)
MUTATING DATA ON THE 📳 CLIENT RPC from the client
This will change Next is working on a RFC on this at the moment We will go with what their suggestion is Watch this space
READ THE DOCS! Next 13 Server And Client Components
None