• Robert Knight's avatar
    Defer initial WebSocket connection until profile is fetched · a120b2dd
    Robert Knight authored
    Following https://github.com/hypothesis/client/pull/2837 the
    `SidebarView` component may now be rendered before the profile has been
    fetched. This component contains an effect which triggers the initial
    WebSocket connection. Since the WebSocket reconnects after the profile userid
    changes, this was causing the initial connection to almost immediately
    be disconnected if the user was logged in. Fix this by deferring the initial
    connection until after the profile has been fetched.
    a120b2dd
Name
Last commit
Last update
..
components Loading commit data...
services Loading commit data...
store Loading commit data...
test Loading commit data...
util Loading commit data...
cross-origin-rpc.js Loading commit data...
ga.js Loading commit data...
get-api-url.js Loading commit data...
host-config.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
markdown-commands.js Loading commit data...
media-embedder.js Loading commit data...
render-markdown.js Loading commit data...
search-client.js Loading commit data...
service-config.js Loading commit data...
ui-constants.js Loading commit data...
websocket.js Loading commit data...