-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
redux saga 初步結構 #1
base: dev
Are you sure you want to change the base?
Conversation
想要討論一下元件的資料夾結構 因此我的想法是可以將元件依下列的資料夾進行劃分歸類
|
|
||
每一個資料夾代表一個頁面 | ||
|
||
描述顯示在瀏覽器上的 HTML CSS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這裡好像打錯了?
containers 主要是要表示的是每一個頁面跟 reducers 和 action 的關係 而 components 主要是每個頁面的渲染結構 在共用的部分我習慣會在 components/ 開一個 utils 的資料夾 |
而且以我的認知來說 |
如果不是native 和 web 共存的 case,我想應該需要有分離 native 和 web 的 package.json 機制 |
No description provided.