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

WebTransport support in RN #764

Open
bfelbo opened this issue Feb 13, 2024 · 0 comments
Open

WebTransport support in RN #764

bfelbo opened this issue Feb 13, 2024 · 0 comments

Comments

@bfelbo
Copy link

bfelbo commented Feb 13, 2024

Introduction

WebTransport is an exciting new way to easily add low-latency UDP sockets for your application. To quote WebKit:

Providing unidirectional and bidirectional streams, as well as potentially-unreliable datagrams, with no head of line blocking and minimal latency overhead is an important and useful addition to the web.

Details

WebTransport is now supported by 76%+ of global devices and WebKit proclaimed their support of WebTransport so we might get Safari support this summer, which would make it supported across all major browsers 🥳 The HTTP/3 stack has also been maturing significantly so it's getting easier and easier to use WebTransport as part of a backend setup.

RN natively supports WebSocket and WebTransport feels very similar. WebTransport is much more lightweight than WebRTC and focused on the client-server use case, which is likely useful for many RN apps.

Discussion points / questions

  1. Should RN support WebTransport natively or should it be handled by a community library?
  2. What's needed for RN to support WebTransport?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant