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
150
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
19
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
200
パスキーでのログインを 実装してみよう!
hibiki_cube
0
2.4k
今日からできる! はじめてのパスキー認証
hibiki_cube
1
290
ここがおもろい! Swift UI
hibiki_cube
1
120
SvelteKit × Supabaseで オレオレカンバンボード作ってみた
hibiki_cube
2
180
Other Decks in Technology
See All in Technology
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
小粒でもパワフルなJS Runtime Antjsについて
comamoca
0
110
FDEの心得
noriakioji
5
6.3k
生成 AI の基礎 〜 サンプル実装で学ぶ基本原理
enakai00
7
4.4k
Sets in Go
ramalho
1
1.1k
Invisible to AI? Making TYPO3 Sites Quotable by AI Search Systems
wolfgangwagner
0
230
Goでデータパイプラインを作ろう
sansantech
PRO
1
510
社内の7割が使うデータ基盤を、 データチーム2人で回すためにやったこと
koh_yoshi
4
1.5k
Flutter × BLE Centralを自前Pluginで実装する設計パターン - MethodChannel / EventChannelで作る双方向ブリッジの実践 / Building Custom Flutter BLE Central Plugins: Bidirectional Bridging with Method & Event Channels
bitkey
PRO
0
130
2027年のMetricKit
kantacky
0
110
エンドユーザー視点で見る SansanのMeraki活用と内製自動化
sansantech
PRO
0
120
【GCC2026】大規模言語モデルを活用した内製検索サービスの社内展開や業務活用
bandainamcostudios
PRO
0
300
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1.1k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
250
The SEO identity crisis: Don't let AI make you average
varn
0
530
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Heart Work Chapter 1 - Part 1
lfama
PRO
8
36k
Why Our Code Smells
bkeepers
PRO
340
58k
[SF Ruby Conf 2025] Rails X
palkan
2
1.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.9k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Design in an AI World
tapps
1
280
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
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!