DEV Community

Vicente G. Reyes
Vicente G. Reyes

Posted on

React Components not rendering in browser

I have a ReactJS app that I've had since 2020 and it worked fast and well. When the domain expired in 2021, I forgot about it. Now as I was browsing files I found the app again and checked what it looked like so I ran yarn and yarn start

Top comments (2)

Collapse
 
brense profile image
Rense Bakker

To answer one of your questions: no, you don't have to rewrite anything to use vite. Just add a vite config and change your start script.
However, vite is not going to solve your problem. You need to debug the errors that your app produces.

Collapse
 
highcenburg profile image
Vicente G. Reyes

I saw the problem. It's because of the ReactDOM.render. I've got to update it for the components to show