0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【公ド読】ビジネス ロジックの UI コンポーネントからの分離

Posted at

【公式ドキュメントを読もうシリーズ】ビジネス ロジックの UI コンポーネントからの分離

シリーズ概要

https://qiita.com/yasu_programming/items/cec66f9e8d5d571e9ce3

URL

https://docs.github.com/ja/copilot/copilot-chat-cookbook/refactoring-code/decoupling-business-logic-from-ui-components

説明

UIコンポーネントとそのロジックを分離してくれる。

所感

分離するメリットとしては、

  • テストのしやすさの向上
  • 再利用性の向上
  • 保守性の向上
  • 可読性の向上
    などがある。

「〇日までにこのサービス作っておいて」と言われると、そのサービスを作ることを最優先にして、きれいなアーキテクチャを保ったまま構築するのが難しいと感じる時がある。
こういうのは助かる。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?