Re: [whatwg/fetch] Using multipart/form-data with multer occasionally causes React app to crash and refresh (#677)

Yes, I understand that, I have asked as well but no answers. The issue began when I attempted to append a FormData to the fetch request. When using the polyfill (import fetch from 'cross-fetch') I received an `unsupported BodyInit` type error repeatedly when setting a simple FormData object as the request body. 

This is referenced in other issues:
https://github.com/github/fetch/issues/148
https://github.com/facebook/react-native/issues/2376

The same exact fetch request went through when I used a native fetch request and removed the import of fetch from `cross-fetch` repository. So I suspect that there might be some issue with the form-data implementation. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/677#issuecomment-369517514

Received on Thursday, 1 March 2018 08:45:07 UTC