create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

The need for the app.js file

Open sanghogu opened this issue 3 years ago • 1 comments

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?

sanghogu avatar Aug 30 '22 03:08 sanghogu

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.

PeterNelsonT avatar Aug 30 '22 12:08 PeterNelsonT

@sanghogu Is this issue still actual or you have received the answer can you close it?

isqua avatar Sep 16 '22 14:09 isqua

If you want to delete app.js it's ok you just have to import all components to the index.js

sanketpatil05 avatar Oct 04 '22 17:10 sanketpatil05

thanks :) @PeterNelsonT stackoverflow ok 👍

sanghogu avatar Oct 04 '22 23:10 sanghogu