Skip to content

Instantly share code, notes, and snippets.

@kadikraman
Created March 5, 2017 13:35
Show Gist options
  • Select an option

  • Save kadikraman/9326f097aea7d33ca5236a4d677f8037 to your computer and use it in GitHub Desktop.

Select an option

Save kadikraman/9326f097aea7d33ca5236a4d677f8037 to your computer and use it in GitHub Desktop.
/src
    /components
        /Component1
            index.js <— may be a pure component or a component wrapped in a container, the consumer doesn’t care anyway
            index.spec.js
        /Component2
        /Component3
    /reducers
        index.js
        /Reducer1
            index.js <—actions are in the same file as reducers
            index.spec.js
            someSideEffect.js <— we use redux-loop here
       /Reducer2
       /Reducer3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment