Skip to content

refactor(socket): load Socket.IO client via ESM - #4224

Merged
khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:esm-io
Aug 3, 2026
Merged

refactor(socket): load Socket.IO client via ESM#4224
khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:esm-io

Conversation

@KristjanESPERANTO

Copy link
Copy Markdown
Collaborator

This moves Socket.IO into the browser core's ESM loading model and removes the separate classic script dependency. The existing global bridge keeps third-party modules working unchanged, while the ESM migration can continue incrementally.

@khassel
khassel merged commit b796600 into MagicMirrorOrg:develop Aug 3, 2026
13 checks passed
@KristjanESPERANTO
KristjanESPERANTO deleted the esm-io branch August 4, 2026 06:16
khassel pushed a commit that referenced this pull request Aug 4, 2026
This is a follow-up to #4224.

The original PR focused on loading Socket.IO as ESM while keeping
existing modules compatible. While reviewing that change, I noticed that
I missed that `main.js` was still reading the client through the global
`io` variable. This PR cleans that up.
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