# Reducing our Redux code with React Apollo

DevFeed: [Reducing our Redux code with React Apollo](<https://devfeed.tech/articles/reducing-our-redux-code-with-react-apollo-23493.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/reducing-our-redux-code-with-react-apollo>)

Author: Peggy Rayzis

Published: 2017-06-09T23:58:00Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Redux](<https://devfeed.tech/topics/redux.md>), [Code](<https://devfeed.tech/topics/code.md>), [maintenance](<https://devfeed.tech/topics/maintenance.md>), [React](<https://devfeed.tech/topics/react.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [code](<https://devfeed.tech/tags/code.md>), [data](<https://devfeed.tech/tags/data.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [maintenance](<https://devfeed.tech/tags/maintenance.md>), [programming](<https://devfeed.tech/tags/programming.md>), [react](<https://devfeed.tech/tags/react.md>), [redux](<https://devfeed.tech/tags/redux.md>)

## AI overview

This tutorial explains how Major League Soccer reduced its Redux code by delegating data fetching to Apollo and GraphQL. The change made the application more declarative, allowed components to request only the data they needed, and removed nearly 5,000 lines of code.

## Source excerpt

I'm a firm believer that the best code is no code. More code often leads to more bugs and more time spent maintaining it. At Major League Soccer, we're a very small team, so we take this principle to heart. We try to optimize where we can, either through maximizing code reuse or lightening our maintenance burden. In this article, you'll learn how we offloaded data fetching management to Apollo, which allowed us to delete nearly 5,000 lines of code.