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
SvelteKitで凝ったルーティングをするのが楽しかった話
Search
HIBIKI CUBE
July 18, 2025
Technology
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
React島→Svelte島 住民受け入れガイド
hibiki_cube
0
27
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
210
パスキーでのログインを 実装してみよう!
hibiki_cube
0
2.5k
今日からできる! はじめてのパスキー認証
hibiki_cube
1
310
ここがおもろい! Swift UI
hibiki_cube
1
130
SvelteKit × Supabaseで オレオレカンバンボード作ってみた
hibiki_cube
2
180
Other Decks in Technology
See All in Technology
SREでアラート疲れを 解決しよう!
kairim0
1
220
スキルを作る、その前に!複数人で使われるスキルを 作るためのプロセス
junkifurukawa
2
370
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
120
自作バイナリを動かす「入口」8選
puhitaku
1
1.2k
USB PDを使ってスマホを労わりたい
raspython3
0
120
AI時代のPRレビューにどう向き合うか?
kairim0
1
140
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
420
Deep Data Security 機能解説
oracle4engineer
PRO
2
750
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
130
継続的なAIコスト最適化
bgpat
1
270
おそらく日本で唯一のDevRelインターン生として
husengs7
0
170
ai_cording_with_k8s_knowledge.pdf
mochizuki875
1
330
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.2k
Designing for Performance
lara
612
70k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Chasing Engaging Ingredients in Design
codingconduct
0
350
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
First, design no harm
axbom
PRO
2
1.3k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
GitHub's CSS Performance
jonrohan
1033
470k
Site-Speed That Sticks
csswizardry
13
1.6k
Everyday Curiosity
cassininazir
0
350
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!