You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make sure the starters and examples use a better redux folder naming strategy #214
This can apply to all flavours of project: Angular/ng2-redux, Angular/ngrx, AngularJS/Redux, React/Redux.
This structure is much easier to grok when the codebase is large. @e-schultz@bennett000@seanmay@egervari@smithad15 This has all come up with each of you independently, I think it's time to make sure that the starters are configured to follow this by default.
@smithad15 you've played with codelyzer most recently - can we make such a structure play nice with the official angular style guide?
For angular, we will need to make some style guide specific tweaks when it comes to the pages folder as that would be substituted for the feature folder paradigm from the style guide (also has some router based lazy loading implications). I've been wanting to do a refactor of angular2-redux-example to follow this for awhile now but keep getting swamped with client projects. I had white-boarded a more angular-centric outline of this at one point. I can clean that up a bit and share it if desired.
The angular2-starter should already support this structure since we decided to strip almost everything out of it, including anything redux related. For angular 2 I would say that getting the example changed would be more useful.
makes sense. I'm not too worried about the particular folder names - features makes sense as well. just want to move to more of a feature - based approach, but without coupling the store
I realise that there are parts of the store inside of each feature folder, however, I still think that there are parts of the application state that are tied to each feature area and should live there until they are used outside of that feature. At that point then of course they need to be promoted up to something more global.
Activity
SethDavenport commentedon Dec 23, 2016
This can apply to all flavours of project: Angular/ng2-redux, Angular/ngrx, AngularJS/Redux, React/Redux.
This structure is much easier to grok when the codebase is large. @e-schultz @bennett000 @seanmay @egervari @smithad15 This has all come up with each of you independently, I think it's time to make sure that the starters are configured to follow this by default.
@smithad15 you've played with codelyzer most recently - can we make such a structure play nice with the official angular style guide?
SethDavenport commentedon Dec 23, 2016
If so, we should get it into the starters and the example apps. Order of priority:
ASAP:
Medium-SAP: 😃
Low-SAP:
smithad15 commentedon Dec 24, 2016
For angular, we will need to make some style guide specific tweaks when it comes to the
pagesfolder as that would be substituted for thefeature folderparadigm from the style guide (also has some router based lazy loading implications). I've been wanting to do a refactor ofangular2-redux-exampleto follow this for awhile now but keep getting swamped with client projects. I had white-boarded a more angular-centric outline of this at one point. I can clean that up a bit and share it if desired.The
angular2-startershould already support this structure since we decided to strip almost everything out of it, including anything redux related. For angular 2 I would say that getting the example changed would be more useful.SethDavenport commentedon Dec 24, 2016
makes sense. I'm not too worried about the particular folder names - features makes sense as well. just want to move to more of a feature - based approach, but without coupling the store
smithad15 commentedon Jan 13, 2017
For consideration: https://github.com/smithad15/angular2-folder-structure-example
I realise that there are parts of the store inside of each feature folder, however, I still think that there are parts of the application state that are tied to each feature area and should live there until they are used outside of that feature. At that point then of course they need to be promoted up to something more global.
SethDavenport commentedon Jan 13, 2017
cc: @clbond
SethDavenport commentedon Jan 27, 2017
@egervari @clbond did either of you make any headway on this
smithad15 commentedon Feb 27, 2017
This still hasn't been completed in
angular2-starter-exampleSethDavenport commentedon Feb 27, 2017