create-react-app
create-react-app copied to clipboard
The need for the app.js file
I don't know the need for the app.js file. I want to configure index.js router and delete app.js, what's the problem?
There's no problem. app.js is like any other component, you can delete it and maybe write its content directly inside index.js. It's entirely up to you. Also you should be asking these kind of questions in stackoverflow or somewhere, not in the issues section.
@sanghogu Is this issue still actual or you have received the answer can you close it?
If you want to delete app.js it's ok you just have to import all components to the index.js
thanks :) @PeterNelsonT stackoverflow ok 👍