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
じょうげん
February 14, 2025
Programming
1
3.2k
Formの複雑さに立ち向かう
Conformを使った実装の紹介を交えつつ、Formの複雑さを軽減する手法を提案します。
じょうげん
February 14, 2025
Tweet
Share
More Decks by じょうげん
See All by じょうげん
読みやすいコードとはなにか? 未来の自分とチームへの思いやり
bmthd
0
40
Yamada UIドキュメント v2紹介
bmthd
0
550
TanStack DB ~状態管理の新しい考え方~
bmthd
2
970
コールバックchildrenでロジックの見通しを改善する
bmthd
0
24
Other Decks in Programming
See All in Programming
チームをチームにするEM
hitode909
0
420
愛される翻訳の秘訣
kishikawakatsumi
3
360
Vibe codingでおすすめの言語と開発手法
uyuki234
0
140
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
35k
公共交通オープンデータ × モバイルUX 複雑な運行情報を 『直感』に変換する技術
tinykitten
PRO
0
170
AI 駆動開発ライフサイクル(AI-DLC):ソフトウェアエンジニアリングの再構築 / AI-DLC Introduction
kanamasa
11
4.6k
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
230
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
ゆくKotlin くるRust
exoego
1
180
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
440
Jetpack XR SDKから紐解くAndroid XR開発と技術選定のヒント / about-androidxr-and-jetpack-xr-sdk
drumath2237
1
220
Cap'n Webについて
yusukebe
0
160
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
4.9k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
270
The agentic SEO stack - context over prompts
schlessera
0
570
Designing for Performance
lara
610
70k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
170
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
400
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
30 Presentation Tips
portentint
PRO
1
180
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
86
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
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