Skip to content

Refactor useConnectionStatus#488

Merged
joetannenbaum merged 1 commit intolaravel:2.xfrom
ezra-obiwale:patch-1
Apr 16, 2026
Merged

Refactor useConnectionStatus#488
joetannenbaum merged 1 commit intolaravel:2.xfrom
ezra-obiwale:patch-1

Conversation

@ezra-obiwale
Copy link
Copy Markdown
Contributor

Even though const status = ref<ConnectionStatus>(echo().connectionStatus()) exists, the connection is not correctly set on mounted.

This PR sets the status on mounted as well. Used a single echo instance while it.

Ensures the status is updated immediately on mounted.
@taylorotwell taylorotwell marked this pull request as draft April 15, 2026 13:00
@joetannenbaum
Copy link
Copy Markdown
Contributor

Thank you!

@joetannenbaum joetannenbaum marked this pull request as ready for review April 16, 2026 17:20
@joetannenbaum joetannenbaum merged commit d055a5c into laravel:2.x Apr 16, 2026
4 of 5 checks passed
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.

2 participants