I'm learning React and for a project having to clone AirBnB and wanting to be able to work off coding so I see changes live instead of starting/stopping the server over and over again. I know this is possible as I've done it before just not with React. I've done a lot of Googling and asked questions to my peers but still cannot find a solution. If anyone has any clarity that would be extremely helpful. Here's my current package.json for my frontend portion of my project.
{
"name": "frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"js-cookie": "^3.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^7.2.9",
"react-router-dom": "^5.3.4",
"react-scripts": "5.0.1",
"redux": "^4.2.1",
"redux-thunk": "^2.4.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"redux-logger": "^3.0.6"
},
"proxy": "http://localhost:8000"
}
I have tried using different scripts, installing different dependencies, trying different extensions. To no avail, haven't had this fixed.