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
Riverpodに機能追加したときの話
Search
K9i - Kota Hayashi
June 05, 2023
Technology
1.4k
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Riverpodに機能追加したときの話
YOUTRUST x ゆめみ Flutter LT会@渋谷 #yumemi_growの資料です
K9i - Kota Hayashi
June 05, 2023
More Decks by K9i - Kota Hayashi
See All by K9i - Kota Hayashi
北九州でFlutterハンズオンをしたので雑多に振り返る
k9i
0
99
FFF(Fukuoka Flutter Fanclub)の紹介
k9i
0
150
Flutter Favoriteプログラムについて調べてみた
k9i
0
1.4k
2023年のFlutter(オフライン)イベントを振り返る
k9i
0
280
Flutterの魅力とコミュニティ活動
k9i
0
540
Flutterエンジニア向け?おすすめmac向けアプリ
k9i
0
510
ゆめみの謎制度「フルリモし放題制度 ㊗️ MAX」で買ったものを紹介します
k9i
0
530
Flutter導入時に警戒すべき要件X選
k9i
1
920
FlutterでTikTokログインができるパッケージを作った話 (short ver.)
k9i
0
800
Other Decks in Technology
See All in Technology
ヘルスケア領域における AI 活用と その安全性担保のための取り組み (Leveraging AI in Healthcare and Our Efforts to Ensure Its Safety) - Google I/O Extended Tokyo 2026, July 11, 2026
zettaittenani
0
410
kintone の AI コワーカーを、 Anthropic にエージェントを"ホストさせて"作った話 #devkinmeetup
sugimomoto
0
110
DMM.com 購入改善推進チーム におけるCodeRabbitを用いた レビューフロー改善の一例
ysknsid25
2
660
10年目を迎えた「ABEMA」がどのように AI 活用を推進して、AI 駆動開発にシフトしているのか / How ABEMA, entering its 10th year, is promoting the use of AI and shifting toward AI-driven development
miyukki
0
240
SRE Next 2026 何でも屋からの脱却
bto
0
890
Type-safe IaC for Dart
coborinai
0
150
アップデートで何が変わった?デモで学んで使いこなすIBM Bob2.0
muehara
0
100
発表と総括 / Presentations and Summary
ks91
PRO
0
140
関数型の考えを TypeScript に持ち込んで、テストしやすい純粋関数を増やす / Pure at the Core, Effects at the Edge: Bringing Functional Thinking into TypeScript
kaminashi
2
130
AI Coding Agent時代のcdk-nagガードレール 〜組織ルールを強制CIで守り抜く設計の挑戦〜
mhrtech
3
370
Compose 新機能総まとめ / What's New in Jetpack Compose
yanzm
0
310
個人開発で育てる「大規模設計の苗床」 - AI時代の1人開発から始める業務への知識接続 / The Seedbed for Large-Scale Design - From AI-Era Solo Projects to Professional Knowledge
bitkey
PRO
1
280
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
420
How to train your dragon (web standard)
notwaldorf
97
6.7k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
220
Exploring anti-patterns in Rails
aemeredith
3
440
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
340
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
63
55k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
260
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
220
Scaling GitHub
holman
464
140k
Transcript
Riverpodに機能追加したとき の話 YOUTRUST x ゆめみ Flutter LT会@渋谷 Kota Hayashi (K9i)
自己紹介
Riverpod? - 日本だと特に人気が高い状態管理ライブラリ - 最近はデファクトスタンダード? - 世界的にはBLoCなんかも人気 - https://docs-v2.riverpod.dev/
追加した機能
追加した機能 Riverpod関連のWidget を相互に変換する
もとからあった機能 - StatelessWidget、StatefulWidget、ConsumerWidget、 ConsumerStatefulWidgetをConsumerWidgetか ConsumerStatefulWidgetに変換するものはすでにあった - hooks系を追加して、すべて相互に変換できるようにした
変更したパッケージ - Riverpodはマルチパッケージ構成 - riverpod - flutter_riverpod - hooks_riverpod -
riverpod_generator - riverpod_lint - など
変更したパッケージ - Riverpodはマルチパッケージ構成 - riverpod - flutter_riverpod - hooks_riverpod -
riverpod_generator - riverpod_lint - など 変更したのはこれ
機能追加の流れ - 気合で実装(割りとなんとかなった) - hooks関連の問題が発覚 - HookWidgetなどはhooks_riverpodを使ってるときだけ変換したい → custom_lintで利用パッケージを知るすべが無い
remiさんがcustom_lintを修正してくれた
remiさんがcustom_lintを修正してくれた PR https://github.com/invertase/dart_custom_lint /pull/137 Changelog https://pub.dev/packages/custom_lint_builder /changelog#033---2023-04-06
無事リリース🥳
おわり - Riverpod関連のWidgetを変換する機能を追加したよ - 今回の実装のPR - https://github.com/rrousselGit/riverpod/pull/2306