r/learnreactjs • • Mar 12 '25

Question React Project Not Renderingj

Hi All,

I'm new to React and after a course decided to try developing something but for some reason, I can't get React to Render.

My Git CoPilot hasn’t been much use and the debugger isn’t catching any error so I'm at a loss of what to try.

I'm returning Product to App which is the portion rendered to index.html

Breakpoints aren’t returning much either so i added a console.log but nothing is showing up. im not sure if its just not running through the code or if im messed up somewhere

1 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/Express_Remove_309 Mar 13 '25

Mmmhh silly goose I realized what is going on the root div should be empty yours says loading , the whole app is supposed to run through the empty div but yours is already occupied by the text loading hehe