Decluttering a #react Application
▻https://hackernoon.com/decluttering-a-react-application-d3c5f2d40f22?source=rss----3a8144eabfe3
Steps to clean up and organize your codeWe started working on our React application a few years ago. We started with Flux, but shifted to Redux when it became available. Over time, requirements evolved and the application grew. We also moved to newer frameworks for forms, modals and charting to name just a few. In fact, a significant part of our code now uses GraphQL so state management with Redux is reduced. We were learning as we went along and the implementation of new features often took priority over cleaning up working code.As a result, the time was ripe for an exercise in decluttering the application. At the start of this exercise, the application had more than 500 components and hundreds of reducers and actions. So, this wasn’t a toy application.We use ESLint so individual files (...)
#refactoring #decluttering-react-app #software-development #software-engineering