CodingZeal / create-react-app

Create React apps with no build configuration.
MIT License
2 stars 2 forks source link

Use CRA's custom Webpack dev client #6

Open randycoulman opened 7 years ago

randycoulman commented 7 years ago

We currently use the standard webpack dev client because the custom client in CRA infers the protocol/host/port of the dev server from window.location. However, since we host our React apps inside a back-end up, window.location will point at our backend server, not the webpack dev server.

There are a few possible solutions to this: