Open
Conversation
Member
|
想要討論一下元件的資料夾結構 因此我的想法是可以將元件依下列的資料夾進行劃分歸類
|
kyoyadmoon
reviewed
Jan 17, 2018
|
|
||
| 每一個資料夾代表一個頁面 | ||
|
|
||
| 描述顯示在瀏覽器上的 HTML CSS |
Author
|
containers 主要是要表示的是每一個頁面跟 reducers 和 action 的關係 而 components 主要是每個頁面的渲染結構 在共用的部分我習慣會在 components/ 開一個 utils 的資料夾 |
Author
|
而且以我的認知來說 |
Member
|
如果不是native 和 web 共存的 case,我想應該需要有分離 native 和 web 的 package.json 機制 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.