DEV Community

Discussion on: Stop Using React

Collapse
 
steveruizok profile image
Steve Ruiz

I think the OP’s issue is with downloading the whole single page app as an upfront bundle vs. downloading the resources for just one page of the site. It’s an argument against SPAs (or Create React App) rather than React itself: there are plenty of frameworks like Next.js that allow you to use React to author static sites. You can also use React to render just parts of a page rather than the entire site.

React is fine. Using React is fine. A better argument would be: if your site doesn’t need to be a single page app, try to make it a static site. If it does need to be a single page app, do what you can to reduce the bundle size, including using other lightweight frameworks.

Collapse
 
ender_minyard profile image
ender minyard

Some comments have been hidden by the post's author - find out more