❏ MFE のデリバリー方法 ❏ 運用で見えてきた課題と学び ❏ 未解決の課題と今後 ❏ About Money Forward Cloud ❏ What Micro Frontends Are ❏ Why We Adopted Micro Frontends ❏ How We Deliver Micro Frontends ❏ Challenges and Learnings ❏ Unresolved Challenges and What’s Next
❏ MFE のデリバリー方法 ❏ 運用で見えてきた課題と学び ❏ 未解決の課題と今後 ❏ About Money Forward Cloud ❏ What Micro Frontends Are ❏ Why We Adopted Micro Frontends ❏ How We Deliver Micro Frontends ❏ Challenges and Learnings ❏ Unresolved Challenges and What’s Next
❏ MFE のデリバリー方法 ❏ 運用で見えてきた課題と学び ❏ 未解決の課題と今後 ❏ About Money Forward Cloud ❏ What Micro Frontends Are ❏ Why We Adopted Micro Frontends ❏ How We Deliver Micro Frontends ❏ Challenges and Learnings ❏ Unresolved Challenges and What’s Next
team improves autonomously マイクロサービスとして切り出し、UI も含めて提供 Extracted as a microservice and provided with its UI as well Team MFE ⚙ 承認ワークフロー 基盤 ⚙ 承認ワークフロー 基盤 ⚙ 承認ワークフロー 基盤 Product A Product B
どのようなときにMFEを導入するか / When to use MFE UIが複雑で、各プロダクトが個別に実装す る負荷が高い (※後で補足) UI is complex and costly to build per product A B C TeamA TeamB TeamC ⚙ 承認ワークフロー A ⚙ 承認ワークフロー B
teams ship value fast ✅ 1ページ内でシームレスな体験を実現する Seamless in-page experience ✅ プロダクトをまたいで一貫したUXを実現する Seamless in-page experience 当初の目的はすべて達成 / We achieved all initial goals
timings cause UI mismatches between the host and the MFE on the same page. 課題4. UIの一貫性 / Consistent UI within the same page MFE Team Button Product Team Button Design system v1 Design system v2 🚀 🚀
Product Team Button Design system v2 Component Library Team Build-time Composition Build-time Composition 🚀 🚀 コンポーネントライブラリを使うことで最新のデザインシステムに追従 Using the component library keeps us aligned with the latest design system
❏ MFE のデリバリー方法 ❏ 運用で見えてきた課題と学び ❏ 未解決の課題と今後 ❏ About Money Forward Cloud ❏ What Micro Frontends Are ❏ Why We Adopted Micro Frontends ❏ How We Deliver Micro Frontends ❏ Challenges and Learnings ❏ Unresolved Challenges and What’s Next
flow • プロダクトに組み込んでのE2Eが必要 E2E must run on each host product • プロダクトの変更によりE2Eがテストが落ちることもあり、修正が大変 Host changes often break E2E, making fixes costly 未解決の課題1: E2E テストのメンテナンスの課題 Unresolved Issue 1: E2E test maintenance
Componentsはホスト、MFEで異なるライブラリを使える Host and MFE can use different libraries • ブラウザにダウンロードするアセットサイズが大きくなる Larger asset downloads • 十分にパフォーマンスの監視もできていない Performance monitoring is still limited v19.2.0 v18.3.1