Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expo/Fetch Support #21

Open
AdzeB opened this issue Nov 18, 2024 · 0 comments
Open

Expo/Fetch Support #21

AdzeB opened this issue Nov 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@AdzeB
Copy link

AdzeB commented Nov 18, 2024

Feature Request

Feature Request:
I wanted to ask if there are any plans to introduce Expo/Fetch, which now supports streaming, as an alternative to react-native-sse. This could potentially simplify development and improve performance, especially for cross-platform projects. Additionally, I was wondering if there are plans to provide an example repository that demonstrates how to use your backend API as a proxy (if that's feasible).

I read in a blog post that someone asked if this library could support the web. The reply mentioned that it doesn't support the web due to react-native-sse. With the new Expo/Fetch library, I believe web support could become viable, which would significantly expand the library's usability.

Describe the solution you'd like:
Replace or supplement react-native-sse with the new Expo/Fetch library to enable streaming and cross-platform support (including web).
Provide an example repository showcasing how to integrate the library with your backend API, especially for use as a proxy.

Drawbacks to Consider:
Transitioning from react-native-sse might introduce breaking changes or require additional effort for existing users to migrate.
Adoption of Expo/Fetch may need careful testing to ensure compatibility across platforms and with existing features.

Describe alternatives you've considered:
Native Implementation: Mike is working on a native implementation for streaming, which includes support for files. According to his recent updates, the release is expected soon: Mike's Tweet.

@AdzeB AdzeB added the enhancement New feature or request label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant