I have encountered a problem with my Create React App. Our app is quite big and custom. We don't have a benefit of rewriting it from scratch in Next.js or similar. We have a server that delivers static HTML, session data and an API over standard HTTP port. On production, we load all frontend scripts from the CDN, but on the development we have CRA running in parallel. Server router proxies HTML files, but assets are being loaded from CRA port, 5000 in that case.
…
read more…