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
HIBIKI CUBE
July 18, 2025
Technology
0
110
SvelteKitで凝ったルーティングをするのが楽しかった話
Svelte Japan Offline Meetup #4で登壇した際の資料です。
https://svelte-jp.connpass.com/event/358769/
HIBIKI CUBE
July 18, 2025
Tweet
Share
More Decks by HIBIKI CUBE
See All by HIBIKI CUBE
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
150
パスキーでのログインを 実装してみよう!
hibiki_cube
0
1.6k
今日からできる! はじめてのパスキー認証
hibiki_cube
1
230
ここがおもろい! Swift UI
hibiki_cube
1
87
SvelteKit × Supabaseで オレオレカンバンボード作ってみた
hibiki_cube
2
140
Other Decks in Technology
See All in Technology
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
190
Context Engineeringの取り組み
nutslove
0
440
Exadata Fleet Update
oracle4engineer
PRO
0
1.1k
ランサムウェア対策としてのpnpm導入のススメ
ishikawa_satoru
0
270
量子クラウドサービスの裏側 〜Deep Dive into OQTOPUS〜
oqtopus
0
220
Amazon Rekognitionで 「信玄餅きなこ問題」を解決する
usanchuu
1
170
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
960
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
3
240
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
240
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
220
Agent Skils
dip_tech
PRO
0
160
コンテナセキュリティの最新事情 ~ 2026年版 ~
kyohmizu
8
2.8k
Featured
See All Featured
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
920
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
840
Chasing Engaging Ingredients in Design
codingconduct
0
120
Statistics for Hackers
jakevdp
799
230k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
110
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
340
Thoughts on Productivity
jonyablonski
74
5k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
100
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
160
Game over? The fight for quality and originality in the time of robots
wayneb77
1
120
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
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!