Lately at my job, one of the most worrying problems is the ability to break the codebase. We have huge projects with too many lines of code, and too much functionality in the same place. So they are pretty hard to maintain and escalate. In order to fix this problem, I am trying to make small pieces to integrate them into bigger components. To avoid working with Redux and having to assemble the #store when launching the project, I have decided to use Apollo with GraphQL and separate the data requested among components. Thanks to GraphQL, we can decide which data is going to be required for each component, and grow the application state the moment the component is rendered and the data required.
0 views0


