You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While going through the docs(specifically this page https://create-react-app.dev/docs/proxying-api-requests-in-development/) i found that proxy docs are still outdated as const proxy = require('http-proxy-middleware'); is now changed to const { createProxyMiddleware } = require('http-proxy-middleware');
also another problem that is there is that the codebase on github has these changes already but
i think the docs were not rebuilt after this update
Activity
unrevised6419 commentedon Mar 16, 2020
@ashu8912 that is a breaking change in https://github.com/chimurai/http-proxy-middleware/releases/tag/v1.0.0
Don't think CRA was tested with new major version.
unrevised6419 commentedon Mar 21, 2020
Fixed in #8515
@ianschmitz
build: fix build
build: fix build