-
-
Notifications
You must be signed in to change notification settings - Fork 327
Closed
Labels
priority-1-highShould be resolved ASAP.Should be resolved ASAP.
Description
Current Situation
There currently is no convenient way of reacting to WS disconnection within components without doing so in the JavaScript websocket.onclose
event.
Proposed Changes
Allow all components to have a
fallback=...
- Pre-generated HTML when the initial render (client's first WS connection) couldn't occur
- Probably only feasible to exist on a top level component
- ex.
@component(fallback=...)
- ex.
- Probably will be reliant on template tags
- Maybe this fallback HTML is serialized as a string?
disconnect=...
- Pre-generated HTML displayed in the event of a websocket disconnect
Implementation Details
Metadata
Metadata
Assignees
Labels
priority-1-highShould be resolved ASAP.Should be resolved ASAP.