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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yuto Ono
March 22, 2024
260
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Svelte でルービックキューブを作ってみた
Yuto Ono
March 22, 2024
More Decks by Yuto Ono
See All by Yuto Ono
1_年間_EM_エンジニアリングマネージャー_を経験した人の話.pdf
yutoono
0
100
EMを目指す方法
yutoono
1
220
レガシーなフロントエンドを_React___Next.js_にリプレースした結果.pdf
yutoono
0
1.3k
レガシーなフロントエンドを リプレースするプラクティス。 エネチェンジが挑む 「React化」
yutoono
4
2.1k
WebAssembly で 世界最速の数独ソルバーを作った話
yutoono
0
1.2k
AWS Codebuild のすすめ
yutoono
0
1.6k
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
247
13k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
550
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
320
Optimizing for Happiness
mojombo
378
71k
Building the Perfect Custom Keyboard
takai
2
890
Balancing Empowerment & Direction
lara
6
1.3k
Marketing to machines
jonoalderson
1
5.9k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Transcript
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 対応が手厚くなっていてす ばらしい!