LoginSignup
0
0

More than 5 years have passed since last update.

Reactアプリ(with Redux)のディレクトリ構成

Last updated at Posted at 2017-09-17

参考: http://razokulover.hateblo.jp/entry/2017/08/28/173807

Reduxのチュートリアルとか見てると、よく垂直分割を見るけど、水平分割の方が良いのかなとか
それぞれ、どんなメリット、デメリットがあるのか調べよーと

垂直分割

レイヤーで分ける。

スクリーンショット 2017-09-17 21.13.06.png

水平分割

コンポーネントや機能で分ける。
Angularとかはデフォルトこっち側な感じだったはず。
すぐ下にテストファイルとかあって、個人的にはこっち派ですかね

スクリーンショット 2017-09-17 21.13.56.png

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