I have been using react and redux and everytime ,I make a call to some rest api in ComponentDidMount ,I can set a state with it and pass that state onto my child or change that state and play with it . I can keep that data in my redux too and do all what i want . I recently started using graphql and I see that as one fetches data inside render using a query , we render the data that we want to and so on . But I am concerned as how instead of rendering it ,I can store it in some state ,play with it and then pass it down to the child . I came acroos this link state in apollo but couldn't have a clear understanding of it as what it basically does ? How to solve this issue of state management and playing with that state which is set by the data coming from the apollo . I am really missing out this feature of
this.setState({
data:(some api data )
)}