Skip to content

Failed to fetch dynamically imported module #1316

@NoahZinsmeister

Description

@NoahZinsmeister

🐛 bug report

NPM package using the React.lazy API is broken on CodeSandbox.

Description of the problem

I'm using the new React.lazy API in one of my npm packages: web3-react. When I try to use this package in CodeSandbox, it throws a Failed to fetch dynamically imported module error.

How has this issue affected you? What are you trying to accomplish?

Cannot use CodeSandbox to demonstrate how my package works. Is this because React.lazy doesn't support SSR?

Link to sandbox: link

Your Environment

Software Name/Version
Сodesandbox PROD-1542548194-f91f152
Browser Chrome Version 70.0.3538.102 (Official Build) (64-bit)
Operating System macOS Mojave 10.14.1 (18B75)

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