Category "react-scripts"

create-react-app application becomes non-interactive after fast refresh

I have noticed that with the latest version of create-react-app ([email protected], also had this problem in the latest @4.x.x version) the page becomes non-i

react-scripts build generates wrong path for sub folder

My application should be served at /sub-folder so in the package.json the homepage field is set to "homepage": "/sub-folder/", The production bundle generated

React app stuck on "Starting the development server"

I have a react app created by create-react-app. After running npm start (the start script is present in package.json as "start": "react-scripts start") the cons

create react app Configuration file after build app

I want a Config File (JSON) in root folder after build to config my app. like Translation and API Urls and ... Can I do this with create react app?

React project crashes with many allocation failures on Heroku but runs on local dev

My React calendar app works well on a local development build but it gives many allocation failures when it's deployed to Heroku. Here is the error from the Her

How to build a production version of React without minification?

Background I've been following more or less the official guide to setup a local dev environment with react and it seems to use create-react-app, which sets up

Custom React Hook typescript error on array return type

I've created a very simple custom hook: export function useI18n() : [ string, Dispatch<SetStateAction<string>> ] { const [ language, setLanguage

Custom React Hook typescript error on array return type

I've created a very simple custom hook: export function useI18n() : [ string, Dispatch<SetStateAction<string>> ] { const [ language, setLanguage

TypeError: Failed to load plugin 'jest' declared in '.eslintrc': Class extends value undefined is not a constructor or null

I was updating react-scripts to latest version i.e. 5.0.0 and started seeing above error. One article suggested to upgrade @typescript-eslint to version ^5.0.0