Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
SvelteKitで凝ったルーティングをするのが楽しかった話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
HIBIKI CUBE
July 18, 2025
Technology
120
0
Share
SvelteKitで凝ったルーティングをするのが楽しかった話
Svelte Japan Offline Meetup #4で登壇した際の資料です。
https://svelte-jp.connpass.com/event/358769/
HIBIKI CUBE
July 18, 2025
More Decks by HIBIKI CUBE
See All by HIBIKI CUBE
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
170
パスキーでのログインを 実装してみよう!
hibiki_cube
0
1.7k
今日からできる! はじめてのパスキー認証
hibiki_cube
1
250
ここがおもろい! Swift UI
hibiki_cube
1
99
SvelteKit × Supabaseで オレオレカンバンボード作ってみた
hibiki_cube
2
150
Other Decks in Technology
See All in Technology
DevOpsDays2026 Tokyo Cross-border practices to connect "safety" and "DX" in healthcare
hokkai7go
0
160
終盤で崩壊させないAI駆動開発
j5ik2o
2
2.1k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
16k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
23k
サイバーフィジカル社会とは何か / What Is a Cyber-Physical Society?
ks91
PRO
0
190
AIエージェントを構築して感じた、AI時代のCDKとの向き合い方
smt7174
1
250
Azure Speech で音声対応してみよう
kosmosebi
0
130
Azure Lifecycle with Copilot CLI
torumakabe
3
940
申請待ちゼロへ!AWS × Entra IDで実現した「権限付与」のセルフサービス化
mhrtech
2
320
非エンジニア職からZOZOへ 〜登壇がキャリアに与えた影響〜
penpeen
0
480
聞き手の目線で考えるプロポーザル
takefumiyoshii
0
430
プロダクトを触って語って理解する、チーム横断バグバッシュのすすめ / 20260411 Naoki Takahashi
shift_evolve
PRO
1
300
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Cult of Friendly URLs
andyhume
79
6.8k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
330
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
120
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
The Limits of Empathy - UXLibs8
cassininazir
1
290
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Being A Developer After 40
akosma
91
590k
How GitHub (no longer) Works
holman
316
150k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Transcript
SvelteKitで 凝ったルーティングを するのが楽しかった話 HIBIKI CUBE @hibiki_cube
{@render children()}
突然ですが、 Svelteのプロジェクト を1つ作ってみます
bunx sv create my-app
None
None
None
None
なんとなく 見覚えあるかも… という方!
app.d.tsの 存在を知っていた という方!
app.d.tsを 編集したことがある という方!
SvelteKitで 凝ったルーティングを するのが楽しかった話 HIBIKI CUBE @hibiki_cube
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
たとえば…
None
None
let grade = $state('Adventure');
let grade = $state('Adventure'); const price = $derived(getPrice(grade));
None
None
None
やっぱり1コ前の グレードの方がいいかも
None
None
実装してみる
None
None
http://localhost:5173/adventure http://localhost:5173/g
None
page.params.grade ↓ と間違えないように!
None
None
None
None
None
let activeGrade = $derived(...);
None
None
None
None
SvelteKitで 凝ったルーティングを するのが楽しかった話 HIBIKI CUBE @hibiki_cube Fin!