Top "Create-react-app" questions

create-react-app is a starter-kit for creating React apps with no build configuration.

How to add jsconfig.json to existing vscode project w/o breaking it

I have React project, currently not using jsconfig.json file. Recently I got the following warning message, when generating a …

reactjs visual-studio-code create-react-app vscode-settings
Create React App: using environment variables in index.html

Is there a way to inject environment variables, e.g. REACT_APP_MY_API into the index.html file? According …

reactjs create-react-app
Redux App not working if Redux DevTools Extension is not installed

I have followed the guide here: https://redux-observable.js.org/docs/basics/SettingUpTheMiddleware.html (Section: Redux DevTools) The store is …

reactjs redux react-redux create-react-app redux-devtools-extension
How to change eslint settings to understand absolute import?

I use create-react-app and I want to use absolute import from ./src. As Dan Abramov recommended I added .env with …

javascript reactjs create-react-app
Why does create-react-app creates both App.js and index.js?

I started learning React and now I'm trying to understand what is the purpose of the index.js and App.…

reactjs create-react-app
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 …

reactjs npm create-react-app react-scripts
Create-React-App failed to compile | Import/First Error

I'm currently using Create-React-App for my personal site. I keep getting the following errors every time I run it: ./src/~/…

reactjs import importerror create-react-app react-router-dom
Create React App http-proxy-middleware not working

So I've set up my proxies on my create-react-app application using http-proxy-middleware. I'm sure I've followed the instructions to the …

node.js reactjs express create-react-app http-proxy-middleware
React fragment shorthand failing to compile

The project in question is using React-16.2.0 which has the capability to use Fragments and the Fragment shorthand. https://reactjs.…

javascript reactjs create-react-app
Migrating create-react-app from javascript to typescript

I started a react project using create-react-app few months ago and I'm interesting in migrating the project from Javascript to …

javascript reactjs typescript create-react-app