Skip to content

ReferenceError: SharedWorker is not defined #153

Description

@njouanin

Hi,
Using "@ldo/solid-react": "^1.0.0-alpha.51" with a Next/react app.
When using the BrowserSolidLdoProvider in a page, I get the following error on the console:

⨯ ReferenceError: SharedWorker is not defined
    at ignore-listed frames {
  digest: '745045082'
}

My guess is that the BrowserSolidLdoProvider component should be declared as client (use client) so it can resolve the browser SharedWorker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions