facebook / facebook/relay

Does relay Wait for the WebSocket connection to be open, before sending a message ?

Open
#4,103 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

Hello,
I'm not sure relay js handles this or not, suppose we render application and we have few subscriptions to execute, but when they execute
the websocket is trying to connect, and eventually it connects, after app is rendered, what happen to executed subscriptions before websocket link is established ?
expected behavior is for every subscription executed before websocket link is ready, relay wait, and send subscribe message, after websocket link is established.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.