Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Doesn't work with Codesandbox #1

@simonghales

Description

@simonghales

It seems there are path issues on Codesandbox, where it is trying to load the workers from absolute paths, that are being returned by Codesandbox as html response types, rather than the worker js code itself.

Not sure what the best solution is here, might need to look at https://github.com/dai-shi/react-worker-components and see whether it works with Codesandbox.

Edit:

Need to look at use-cannon, they have their worker imported directly from the file, is that supported by their build process, or would that work here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions