DEV Community

Discussion on: The most common mistakes when using React

Collapse
 
thebouv profile image
Anthony Bouvier

I'll add one more mistake:

Using React when you don't need it.

Collapse
 
niweera profile image
Nipuna Weerasekara

You hurt my feelings 😆

Collapse
 
thebouv profile image
Anthony Bouvier

HUG!!!!

Collapse
 
lexiebkm profile image
Alexander B.K.

I am using it, and I am quite satisfied with the result. My app consists of a lot of modules. I handle myself both of the front end and back end.

Collapse
 
thebouv profile image
Anthony Bouvier

That's great. I'm not saying React isn't useful. I'm saying it is a tool and some people try to use it for every problem.

There are plenty of projects where React as a choice is simply over-engineering.

Thread Thread
 
dillionmegida profile image
Dillion Megida

Could you list examples?

I'm getting to think I'm involved here 😕

Thread Thread
 
lexiebkm profile image
Alexander B.K.

Because my app is a specific SPA, I choose React. As a learning developer, I don't want to write in vanilla JS for some reasons. Learning Angular takes longer time.
I am developing a KPI management system using Balanced Score Card methodology; it deals with massive usage of database (I use mySQL) from which data need to be displayed in a datagrid that must have features such as inline editing and row grouping. For that purpose I use ag-Grid and Tabulator. The app is supposed to be able to display dashboard that contains data visualizations as well as standard reporting (pdf and possibly excel format as well).
So, scalability is my concern since I began to think about using JS framework.

Collapse
 
franzisk profile image
Francisco Vieira Souza

And when would that be?

Collapse
 
techbos profile image
TechBos😎

Very true.

Collapse
 
c24w profile image
Chris Watson

zing