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
After reading up on a bunch more examples, it makes a lot of sense to organize things by module basically. Every page/feature gets its own folder, no more separating related code into separate folders. eg. there's no reason for pages, containers, and components to be separated.
Keeping redux separate still does seem to make sense though. Technically it's all global state, but there are some that are explicitly global (eg. loading, error) and some are shared state between multiple pages.
I'm also not sold on the name features yet.. features, modules, pages, etc
After reading up on a bunch more examples, it makes a lot of sense to organize things by module basically. Every page/feature gets its own folder, no more separating related code into separate folders. eg. there's no reason for pages, containers, and components to be separated.
Keeping redux separate still does seem to make sense though. Technically it's all global state, but there are some that are explicitly global (eg. loading, error) and some are shared state between multiple pages.
I'm also not sold on the name
features
yet.. features, modules, pages, etchttps://github.com/markerikson/react-redux-links/blob/master/project-structure.md
The text was updated successfully, but these errors were encountered: