Jul 10, 2017 · 1 min read
Thanks for the great tutorial! Really awesome to finally see a better example of how to do TDD in React. I have a couple of comments (hopefully helpful) and please take them with a grain of salt as these are my opinions.
- I love you you broke down the article into separate digestable parts. Would you consider doing a part 5 and talking about how to scale the architecture for a larger scale production application?
- Related to #1 based on your patterns I see duplication and wondering how we may be able to reduce it. By duplication I mean : for every action you have a TYPE in the constants, then an method for that type, then a property in App.js with that method, then another parameter on the sub-components of App with the same name, then a “mapDispatchToProps” method for that type. This architecture doesn’t seem scalable, so I was wondering if this can be simplified, or are all these methods, params, and types necessary for the REDUX flow?
Thanks again, and great article!
