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

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay