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
Formの複雑さに立ち向かう
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
じょうげん
February 14, 2025
Programming
1
3.3k
Formの複雑さに立ち向かう
Conformを使った実装の紹介を交えつつ、Formの複雑さを軽減する手法を提案します。
じょうげん
February 14, 2025
Tweet
Share
More Decks by じょうげん
See All by じょうげん
読みやすいコードとはなにか? 未来の自分とチームへの思いやり
bmthd
0
310
Yamada UIドキュメント v2紹介
bmthd
0
630
TanStack DB ~状態管理の新しい考え方~
bmthd
2
1.1k
コールバックchildrenでロジックの見通しを改善する
bmthd
0
26
Other Decks in Programming
See All in Programming
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
7.6k
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
160
オブザーバビリティ駆動開発って実際どうなの?
yohfee
3
690
CSC307 Lecture 11
javiergs
PRO
0
590
浮動小数の比較について
kishikawakatsumi
0
380
株式会社 Sun terras カンパニーデック
sunterras
0
2k
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
220
atmaCup #23でAIコーディングを活用した話
ml_bear
4
740
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
3.2k
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
170
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
470
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
120
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.2k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
810
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Google's AI Overviews - The New Search
badams
0
930
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.7k
Building AI with AI
inesmontani
PRO
1
760
Un-Boring Meetings
codingconduct
0
220
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
New Earth Scene 8
popppiees
1
1.7k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
230
The Cult of Friendly URLs
andyhume
79
6.8k
Transcript
Formの複雑さに立ち向かう
自己紹介 HN じょうげん Github bmthd X(Twitter) @j_ktwr スタック TS, Go,
Javaなど
Agenda • Formの悩み • Conformのご紹介 • 実装吸収層で実現するシンプルなform実装
Formの悩み
従来のHTMLにおけるFormといえば…
React Hook Formの場合
None
Conformのご紹介 Conformは、Server Actionsを前提に設計された新世代の フォームライブラリです。
Conformを使うとここまで削れます!
None
実装吸収層で実現する、シンプルなform実装
None
None
None
その他のConformの嬉しみ • Selectコンポーネント、動的入力欄、チェックボックスグループな どの複雑なUIにも対応 • FormData経由で同期的アクセス • リアクティブな状態へのアクセスももちろん可能! • アクセシビリティ属性を自動でセット
• サーバー側検証対応。フロントとバックでスキーマ共有や、バンド ルサイズ圧縮が可能 • Progressive Enhancement • サーバーでしか行えない検証をシームレスに実装可能 • SPAでの利用ももちろん可能
まとめ • Conformは、フォームの複雑さに立ち向かうための新しい選択 肢です。 • 実装がシンプルであり、UIの構築に集中することができます。 • Conformドキュメント • 紹介した実装の動作サンプル
exp.bmth.dev