DEV Community

Discussion on: Stop Using React

Collapse
 
ender_minyard profile image
ender minyard • Edited
This goes for any SPA framework.

This does not go for any SPA framework. See: Preact. It is much easier to ship a slow, unresponsive website with React than with Preact because of the sheer JS download time (just using Preact as an example).

React itself isn't necessarily slow, expensive, inaccessible, or goes against the web. It's the decisions the developers in charge of the project make that may make it one (or all) of these.

I disagree. React is, by default, all of those things in the hands of the average developer, and it takes an above-average developer to keep a React web app from being slow, expensive, inaccessible, or against the web. The average developer will develop a slow website with React that should have been a simple backend driven site.

So the title, IMO, should be "Why you should stop blanket using React and stop to think about your projects needs before deciding on your tech stack"

I think that's too long for a title. I like the concept though. I understand your idea that React's performance depends on the developer using it, I just think that React's performance defaults to slow.

Collapse
 
jamesthomson profile image
James Thomson

Read again as

It's the decisions the developers in charge of the project make that may make it one (or all) of these.

This goes for any SPA framework. It's simply a tool

My point being, it's up to the developers to understand the tool and decide whether or not it suits the project. React may be slower than Preact or Vue or Svelete, etc. but it has a rich and well established ecosystem which a lot of companies value and will prefer. I'm not arguing for or against React, all I'm saying is there's a lot to deciding on what your tech stack should be.

The average developer will develop a slow website with React that should have been a simple backend driven site.

Which can certainly be true and reiterates my point that developers need to choose the right tools for the job.

Thread Thread
 
ender_minyard profile image
ender minyard

Agreed!

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