Skip to content

Conversation

@JoviDeCroock
Copy link
Member

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jul 31, 2021

🦋 Changeset detected

Latest commit: b0757bf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wmr Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@JoviDeCroock JoviDeCroock requested a review from developit July 31, 2021 07:52
@developit
Copy link
Member

@JoviDeCroock I'm wondering if we need to combine the timer and focus checks? Reconnecting on focus/visibilitychange won't address the case where network connection drops/changes while something is in the foreground.

It seems like we could start reconnecting if the documents visibility state is visible, and also if the state changes to visible, in both cases triggering the exponential backoff approach?

Copy link
Member

@marvinhagemeister marvinhagemeister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a changeset + the timer checks on top and then we're good to go 👍

@JoviDeCroock JoviDeCroock changed the title implement focus-based reconnect (wmr/hmr) - implement focus-based reconnect Aug 9, 2021
@JoviDeCroock JoviDeCroock merged commit 5e7e4c1 into hmr-reconnection Aug 9, 2021
@JoviDeCroock JoviDeCroock deleted the JoviDeCroock-patch-1 branch August 9, 2021 14:48
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

Successfully merging this pull request may close these issues.

4 participants