question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[fetch] Does fetch with blob() marshal data across the bridge?

See original GitHub issue

When you use .blob() on the response from fetch, is the data actually marshaled across the bridge? Or is the blob a handle on the data on the native side?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

33reactions
wkh237commented, May 10, 2016

Hi, I also got the problem when upload/download blob data, so I made a RN native module so that I can upload/download blob data then process it in JS context.

Is there any progress on this issue? or there’s any way to do this without writing native code?

5reactions
austinksmithcommented, Oct 3, 2017

There seems to be a trend of closing issues that are important for broader implications than simply fetching images and displaying them, data blob creation is important for many use cases and is used widely in many other JvaScript execution environments, please see my latest issue ticket @lacker https://github.com/facebook/react-native/issues/16034#issuecomment-333385849

Read more comments on GitHub >

github_iconTop Results From Across the Web

Response.blob() - Web APIs - MDN Web Docs
A promise that resolves with a Blob . Examples. In our fetch request example (run fetch request live), we create a new request...
Read more >
react-native-fetch-blob - npm
Start using react-native-fetch-blob in your project by running `npm i ... See [fetch] Does fetch with blob() marshal data across the bridge?
Read more >
Use fetch to post a blob in react-native - Stack Overflow
Here it seems like fetched blob data doesn't get marshaled or mapped to js memory across the bridge like strings are. Any ideas...
Read more >
Troubleshoot self-hosted integration runtime - Azure
This article explores common troubleshooting methods for self-hosted integration runtime (IR) in Azure Data Factory and Synapse workspaces.
Read more >
MIME Multipart - Apache Camel
The marshal option of the mime-multipart data format will convert a message with attachments into a MIME-Multipart message.
Read more >

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found