Skip to content

feat: dynamic import of socketio client #173

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

gismya
Copy link
Contributor

@gismya gismya commented Nov 10, 2023

  • I have added automatic tests where applicable
  • The PR title is suitable as a release note
  • The PR contains a description of what has been changed
  • The description contains manual test instructions

Changes

To not require WS installed on Node instances that don't use the event server I changed the import for the socketIO client to be dynamic on connecting to the event server.

Test

Does the socketio client still work in both browser and node? Are there any meaningful delay introduced?

@gismya gismya requested a review from a team as a code owner November 10, 2023 16:15
@gismya gismya requested a review from jimmycallin November 10, 2023 16:15
@jimmycallin jimmycallin merged commit 058bbdc into main Nov 15, 2023
@jimmycallin jimmycallin deleted the dynamically-import-socketio-client branch November 15, 2023 14:31
gismya added a commit that referenced this pull request Nov 17, 2023
gismya added a commit that referenced this pull request Nov 17, 2023
Revert "feat: dynamic import of socketio client (#173)"

This reverts commit 058bbdc.
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