Skip to content

react-scripts 3.3.0 doesn't work in development mode on IE or edge due to WebSocket constructor #8084

Closed
@WieserSoftware

Description

@WieserSoftware

When loaded into the browser, it throws a syntax error to the console on this line:

webpackHotDevClient line 60

// Connect to WebpackDevServer via a socket.
var connection = new WebSocket(

I'm guessing this is because the constructor is not supported on edge or IE. Is there a polyfill to work around this?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions