Skip to content

react-dev-utils/webpackHotDevClient - SockJS - non-customisable host and port #3814

Closed
@AlexMiroshnikov

Description

@AlexMiroshnikov

Hello.

I have a question about the react-dev-utils/webpackHotDevClient.

SockJS there (see https://github.com/facebookincubator/create-react-app/blob/next/packages/react-dev-utils/webpackHotDevClient.js#L64) is instantiated with not customized host and port but with the corresponding parameters of the original window.

Is it intended and/or are there any strict contraindications against customizing host and port?

If yes, what's the explanation?
If not, would it make sense if I handle this issue and make a PR?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions