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
Svelte でルービックキューブを作ってみた
Search
Yuto Ono
March 22, 2024
270
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Svelte でルービックキューブを作ってみた
Yuto Ono
March 22, 2024
Transcript
10 slides
Svelte で ルービックキューブを作ってみた
Yuto の自己紹介 • ENECHANGE株式会社 EM ◦ 本業では主に React を使っている •
個人開発ではSvelteを使うことが多い • 趣味 ◦ ルービックキューブ ▪ 自己ベスト8秒(参考: 世界記録3.13秒) ◦ その他色々
Svelte でルービックキューブ まずはこちらをご覧ください https://rubiks-cube-yuto.vercel.app/ 使用技術 • Svelte • Vite
Svelte でルービックキューブ リポジトリはこちら https://github.com/yuto-ono/rubik • SVGを動的に出力してキューブを描画している • 座標の処理はすべて自前で実装 ◦ ベクトルや行列の計算など
Svelte をアップグレードしてみた • 一年以上前に作ったやつなので、Svelteのバージョンが古くなってた • Before ◦ Svelte 3.52.0 •
After ◦ Svelte 4.2.12
Svelte をアップグレードしたら、警告が
最近のSvelteは a11y に力を入れている? Svelte のブログを遡ると、 a11y 関係のアップデートが多い https://svelte.dev/blog/whats-new-in-svelte-june-2023 https://svelte.dev/blog/whats-new-in-svelte-november-2022 https://svelte.dev/blog/whats-new-in-svelte-october-2022
a11y は忘れがちなので、検出してくれるのは、かなりありがたい
でも、適切な a11y 対応がわからん… このSVG、 button ではないし、 menuitem でもないんだよな…
今回は無視することにしました
まとめ 最近の Svelte は a11y 対応が手厚くなっていてす ばらしい!
More Decks by Yuto Ono
See All by Yuto Ono
1_年間_EM_エンジニアリングマネージャー_を経験した人の話.pdf
yutoono
0
110
EMを目指す方法
yutoono
1
220
レガシーなフロントエンドを_React___Next.js_にリプレースした結果.pdf
yutoono
0
1.3k
レガシーなフロントエンドを リプレースするプラクティス。 エネチェンジが挑む 「React化」
yutoono
4
2.1k
WebAssembly で 世界最速の数独ソルバーを作った話
yutoono
0
1.3k
AWS Codebuild のすすめ
yutoono
0
1.6k
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
7.1k
Building the Perfect Custom Keyboard
takai
2
950
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
440
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
990
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
470
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
610
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
820
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
940
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
380
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
610