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
rshono で簡単にRSCを使おう
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kotataro taniguchi
October 02, 2026
Programming
7
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
rshono で簡単にRSCを使おう
rshonoでRSCを簡単に使いましょう
Kotataro taniguchi
October 02, 2026
Other Decks in Programming
See All in Programming
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.6k
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
ChromeでローカルLLM
ryu1013
0
140
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
970
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
1.1k
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
Jetpack Compose Mechanisms
skydoves
3
820
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
Domain-Driven Transformation
hschwentner
2
2.3k
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
How to Talk to Developers About Accessibility
jct
2
580
The Curious Case for Waylosing
cassininazir
1
570
How GitHub (no longer) Works
holman
316
150k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Building AI with AI
inesmontani
PRO
1
1.3k
GitHub's CSS Performance
jonrohan
1033
470k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
630
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
600
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Transcript
React Tokyo rshono で RSC を簡単に使おう! 1 / 14
谷口昂太郎(merino) 大学生 普段は、個人開発しながら就活中! 最近はOSSにも取り組んでます! React: 最近はRSCにハマってエコシステムや思想など勉強中です! 2 / 14
避けてない? RSC で RSC アンチの話が、たびたび話題に React2Shell(CVE-2025-55182) デバッグしづらい サーバーとクライアントの境界が曖昧で、事故が起きやすい X 3
/ 14
でも悪いのは RSC なのか? 嫌われているのは、たいてい Next.js App Router の使いにくさ 4 /
14
RSC 自体は何が良い? として優秀 データフェッチコロケーション バンドルサイズを削減できる Server Actions が便利 BFF 5
/ 14
rshono = Hono + Rspack + RSC を Hono の
Subapp として載せる、ミニマルなライブラリ。 やることは、ルートを defineRoutes で書くだけ。 RSC 6 / 14
嬉しいのはこの3つ シンプル! 既存の Hono アプリに、そのまま載せられる ルーティングを選ぶ必要がない 7 / 14
rshono の性能 指標 初回 payload rshono Next.js 60.4 kB 162.3
kB Cold build 533 ms 3.50 s Dev cold start 508 ms 1.53 s Prod install 72.8 MB 291.1 MB 依存パッケージ 16 22 。 回・1マシン(M1)の計測で ±10% 未満はノイズ。速さの差は主 )。 rshono 1.0.0-rc.20 / hono 4.13.5 / Next.js 16.2.12 / React 19.2.8 1 HTTP React rshono benchmarks 2026-09-03 に 層(同じ )。出典: 公式 ( 8 / 14
サンプルコード サーバ routes.ts // defineRoutes: URL と、その URL で描くページの対応を定義する export
const routes = defineRoutes({ routes: [{ path: '/', component: () => import('./pages/home') }], }); クライアント 1 Pager.tsx 'use client'; // useNavigation: いまの URL と、URL を書き換えて再取得する router を返す export function Pager() { const { router } = useNavigation(); return <button onClick={() => router.push('?page=2')}>Next</button>; } 2 9 / 14
Waku と何が違う? 共通点:RSC 前提のミニマル・Hono・暗黙キャッシュなし rshono Waku コンセプト RSC ファースト RSC
ファースト 責務の範囲 最小(Hono アプリは自分) 規約・Adapter まで持つ ルーティング 明示的な表(1種類) 既定はファイル、表も可(3種類) 既定の描画 dynamic(Static も可) static(Dynamic も可) サーバー Hono の Subapp 独自 Adapter(内部で hono/tiny) History API ナビゲーション Navigation API RSC の粒度 ページ(Static も選べる) ページ・レイアウト・Slice(Dynamic も) 細かい最適化 不向き(ページ単位) 可(Slice で部分化) 10 / 14
シンプルさの代償 はページ単位。リクエストごとに細かく最適化できない 細かく最適化したい用途には向かない 利用例が少ない RSC 11 / 14
是非使ってみてください! 12 / 14
ご清聴ありがとうございました! rshono ドキュメント 13 / 14
P.S. @Laph さん のスレッドで紹介されていた suraido.jsを、今回の発表に使わせてもらいました! 使い心地最高です!ありがとうございました。 React Tokyo 14 /
14