MadeInHaus / react-starter

A client-side SPA starter bundled with React, Redux, CSS Modules, React Router 4, and Webpack 4
MIT License
9 stars 2 forks source link

Feature/improve redux org #41

Closed chrisjcodes closed 5 years ago

chrisjcodes commented 5 years ago

Relating to issue #39. This PR colocates slices of redux state under the store directory, organized into individual directories which contain related actions selectors and reducer files. This allows redux state to be more manageable to edit as each directory contains all related parts for a given piece of state while maintaining separation from UI.

Structure is as follows:

In addition there will be any number of directories for each slice of managed state that will have the following structure: