Liveview browser back button starts with stale state

On the LiveBeats Liveview Demo, there seems to be an issue with state interacting with browser button.

Reproduce:

  1. Make sure you’re not signed in, click chrismccord in the sidebar.
  2. You should get an error saying to sign in
  3. Sign in, then press the browser back button

It appears that the sign in dialog is first shown, then the socket mounts and the correct functionality kicks in.

Is this a limitation with liveview itself? Is there a workaround?

Thanks!