Doron Zavelevsky
Doron Zavelevsky
@mikewcasale please add some details
Although I find redux-simple-router to be very elegant - I dislike the fact that it prevents you from using immutablejs Map as your state. That's because of this line: https://github.com/rackt/redux-simple-router/blob/master/src/index.js#L43...
I wanted a way to prevent state manipulation - and the subtle bugs that follow. For example - if during shouldComponentUpdate you compare your previous state to the new state...
Short answer: Object.assign returns an object - not an Immutable.Map. So you have a Map as your state and after their reducer is called you suddenly have a simple object....
in that case - 'js' is not a good name for the parent folder :smile: Also - why not 'jsx' extensions for files containing jsx? Looks nicer than '.react.js'.
This is my project structure. Hopes it helps. Whenever you see a file with `.dev.` in its name you know I alternate dev/production version of this file using NormalModuleReplacementPlugin. ```...
I strongly advise against mixing redux actions with components. You should completely separate them. Passing action creators via props enables you to put as many abstractions as you'd like between...
Additional arguments against placing actions with components : - forces a bottom-up way of thinking when designing your application - while redux encourages you to first think of your state...
I have to say that the feature separation is a weak argument IMO. Cross team collaboration can be coordinated and isolated by other means like source control and some common...
From what I remember - it's always an issue with setting the environment variables. I wasn't aware of 'cross-env' so I solved it differently. I added a script called 'win'...