You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assume ReadableStream is available in RN's environment which can be polyfilled with web-streams-polyfill. If ReadableStream is expected to only be used in the context of Fetch, we can probably bundle them together.
Have tests in place running in an actual RN app on GitHub's CI.
Even if Facebook has no plans to add support for streaming to Fetch for the time being, app developers can easily swap out whatwg-fetch for @react-native-community/fetch manually. Even better would be React Native to do this automatically via some sort of extension or plugin API.
Are there any guidelines which React Native Community packages should conform to? e.g. linter and linting config, CI process config, etc.
@cpojer I'm reaching out to follow up on a previous discussion about coming up with a custom Fetch API implementation for React Native at https://github.com/react-native-community/fetch with support for streaming (facebook/react-native#27741). We, MOXY and Protocol Labs, are planning to start this effort shortly and we'd like to know your thoughts on the matter.
In short, what we currently have in mind is as follows:
ReadableStreamis available in RN's environment which can be polyfilled with web-streams-polyfill. IfReadableStreamis expected to only be used in the context of Fetch, we can probably bundle them together.Even if Facebook has no plans to add support for streaming to Fetch for the time being, app developers can easily swap out
whatwg-fetchfor@react-native-community/fetchmanually. Even better would be React Native to do this automatically via some sort of extension or plugin API.Are there any guidelines which React Native Community packages should conform to? e.g. linter and linting config, CI process config, etc.
CC @satazor @hugomrdias