React Native review refresh content and useEffect

Job ID: 32369274

Budget: $30 – $250 USD

using a 3rd web view with is rendered in react-native-webview. This component needs a token for each request. This is provided by a wrapper component doing an Apollo client query. Overall this is working, except when Implace the components on different pages. The webview refreshes and it still has the old token. I am using useEffect() to manage when the wrapper component updates and refreshes the query.
Related categories: React Native Apollo