Make sure your .babelrc file is in the root folder of your application, and add the following code:
Run npm install –save-dev @babel/plugin-proposal-class-properties.
Dealing with CORS in Create React App
Creating a cross-domain React component, with zoid https://medium.com/@bluepnume/creating-a-cross-domain-react-component-with-xcomponent-fbcccc4778fd
How to integrate Reactjs frontend with php codeigniter application on apache server?
Github Codeigniter with React
Codeigniter REST + ReactJS CRUD Example
Build a Contact Form with React and PHP (axios)
React Firebase example Catch of the Day http://catch-of-the-day.blogbook.hu/store/old-fashioned-defeated-wives
Use an integrated toolchain for the best user and developer experience.
This worked for me.
Update the development array in package.json
“last 1 chrome version”,
“last 1 firefox version”,
“last 1 safari version”
Add the below code in index.js in the src folder
// These must be the first lines in src/index.js
Then delete the node_modules folder and run