@@ -28,7 +28,8 @@ Complete compatibility tables for quick reference when building WebF application
2828| -----| --------| -------|
2929| ` fetch() ` | ✅ | Full async/await support |
3030| ` XMLHttpRequest ` | ✅ | For legacy code |
31- | ` WebSocket ` | ✅ | Real-time communication |
31+ | ` WebSocket ` | ✅ | Real-time bidirectional communication |
32+ | ` EventSource ` | ✅ | Server-Sent Events (SSE) — server push, auto-reconnect, named events |
3233| ` URL ` | ✅ | URL parsing and manipulation |
3334| ` URLSearchParams ` | ✅ | Query string handling |
3435
@@ -272,13 +273,15 @@ Complete compatibility tables for quick reference when building WebF application
272273| Recoil | ✅ | Full support |
273274| MobX | ✅ | Full support |
274275
275- ### Data Fetching
276+ ### Data Fetching & Streaming
276277| Library | Support | Notes |
277278| ---------| ---------| -------|
278279| React Query (TanStack Query) | ✅ | Full support |
279280| SWR | ✅ | Full support |
280281| Axios | ✅ | Full support |
281282| Apollo Client | ✅ | Works if using fetch transport |
283+ | Vercel AI SDK | ✅ | SSE streaming via EventSource |
284+ | OpenAI SDK (streaming) | ✅ | SSE streaming supported |
282285
283286### CSS-in-JS
284287| Library | Support | Notes |
@@ -323,6 +326,7 @@ const webfFeatures = {
323326 // Networking
324327 fetch: typeof fetch !== ' undefined' ,
325328 websocket: typeof WebSocket !== ' undefined' ,
329+ eventSource: typeof EventSource !== ' undefined' ,
326330
327331 // Workers
328332 webWorkers: typeof Worker !== ' undefined' , // Will be false
0 commit comments