score:0

you need to render it to the page somewhere, like so:

import reactdom from 'react-dom';

...

reactdom.render(<app />, document.getelementbyid('root'));

but since you're using create-react-app, that should already be inside the index.js file, unless you removed that. using create-react-app the app component is getting rendered on the page by default, so you shouldn't have to do anything except fill in the app component.


Related Query

More Query from same tag