menu
Channels
Team
Posts
Members
Info

How can you split the vendor bundle? Inquiry about feature #4633 merged in 2018

I have created a pretty big project with create react app, and for the past few days ive been trying to find a way of splitting up the vendor file. Currently CRA bundles all node_modules used into one vendor file, but i dont want to load all vendors for lets say login panel, i…

thumbsup
0
message-simple
0

Dose Create-React-App runs slow on mobile?

I am going to build a big e-commerce app with create-react-app on the front-end .. I want to know if this technology runs slow on mobile and if so how to fix it?

thumbsup
0
message-simple
0

Hey all - WSL2 yarn start very slow

Not sure if anyone has experience using create-react-app in WSL2, but my yarn start command is running awfully slow. Does anyone have any suggestions that may help? I've gone ahead and created another test app and found similar results. My computer specs: intel i7-8650U 2.11…

thumbsup
0
message-simple
8

Create React app third party JS

Hi all, I'm trying to integrate 3rd party js library into my CRA app. The library was used in previous application with custom web pack configurations. Is there anyway I can use a 3rd party library without ejecting my current app? I have tried to import the function but it gives…

thumbsup
0
message-simple
0

Node/Express: "Cannot use import statement outside a module" with TypeScript

Hi all, I'm trying to set up a CRA project using TypeScript and an Express server on the back-end. I went ahead and followed these instructions for adding an Express server to CRA. I know that create-react-app (with the TypeScript template) requires "module": "esnext" to be set…

thumbsup
0
message-simple
0

How to add more files to the workbox's precach-manifest file?

I try to replace the navigationFallback: "index.html" with navigationFallback: "offline.html". I used the copy-webpack-plugin to copy offline.html to the dist folder but the file is still not in the precach-manifest. I've spent many days but no luck. Thanks everyone!

thumbsup
1
message-simple
0

Unable to create first react app (newbie) - please help :)

npx create-react-app my-app; cd my-app; npm start yields: missing script: start. …

thumbsup
0
message-simple
7

How to make CRA/constituent parts report absolute paths for errors?

I am developing in a monorepo, and I'd like the CRA errors to use an absolute path (or relative to the base of the monorepo) so that I can click on the error and go straight to the file in my IDE. Is this possible?

thumbsup
0
message-simple
0

Proxying requests to API over local network on dev

Hello, For my web app I use http-proxy-middleware as mentioned in the CRA docs in a setupProxy.js file to proxy API requests to a locally running API server like so: However when running create-react-app it also offers that you can access your site on your local network via an…

thumbsup
0
message-simple
0

Overriding WDS_SOCKET_PORT in .env doesn't update hot update port

Situation: I have a larger .NET MVC application running the application on port 58778, and on a subdir I have .NET serve html page with a script tag referencing some bundles loaded from create-react-app It loads the app fine initially, but subsequent hot reloads don't seem to go…

thumbsup
0
message-simple
1