Question: what are reducers in react native?
Answer: A reducer is a pure function that takes the previous state and an action as arguments and returns a new state. The reducer is instrumental in keeping the current state of friends updated throughout our app as it changes.