title: fetch and axios are not working inside PlaidLink component, how can I fix this?
body: <p>I am attempting to do a simple POST request to my backend from within the <code>&lt;PlaidLink /&gt;</code> component onSuccess prop. However, with fetch, I get a strange warning that says:</p>
  <p><code>Require cycle: node_modules/react-native-plaid-link-sdk/node_modules/react-native/Libraries/Network/fetch.js -&gt; node_modules/react-native-plaid-link-sdk/node_modules/react-native/Libraries/Network/fetch.js</code></p>
  <p>And I also get an error that says:</p>
  <p><code>TypeError: undefined is not a function (near '...fetch...')</code></p>
  <p>How is this possible? fetch is clearly a function as it's part of the react native API. I only get this error when I try to use fetch within the  onSuccess prop. fetch works just fine elsewhere throughout my app.</p>
  <p>I also tried using axios since I thought there might be some weird import/name conflict stuff going on inside the library. But axios won't even put out an HTTP request. It does nothing. Again, axios works just fine elsewhere in my code base, it is only inside  onSuccess that I am having problems. How do I fix this? Below is my  component and code.</p>
  <pre><code>const PlaidComponent = (props) =&gt; {
    return (
  &lt;PlaidLink
        tokenConfig={{
          token: props.token,
        }}
   onSuccess={(success) =&gt; {
      fetch(API_URL + '/plaidPermanentToken', {
        method: 'POST',
        headers: {
          Accept: 'application/json',
          'Content-Type': 'application/json',
        },
        body: JSON.stringify({
          value: success.publicToken,
        }),
      })
      .then((response) =&gt; {
        console.log('Token exchange complete');
        console.log(response);
      })
    }}&gt;
        &lt;View style={styles.button}&gt;
          &lt;Text style={styles.textStyle}&gt;Add Account&lt;/Text&gt;
        &lt;/View&gt;
  &lt;/PlaidLink&gt;
   );
  };
  
  </code></pre>