Follow

Complaining about React and JS 😫 

The whole React/Redux/etc ecosystem makes me feel like I need a phd in computer science in order to build a simple form. It takes things that should be super simple (ex: a form with checkboxes) and makes it unnecessarily, overwhelmingly complex.

I get it that in *some* cases this is actually really powerful and the right tool for the job, but for 99% of cases I've encountered, it ain't it.

Β· Β· Web Β· 5 Β· 1 Β· 9

Complaining about React and JS 😫 

I guess a testament to the quality of Ruby on Rails as a tool for getting things done is how well 5+ years old code still works, not just running well in production but still supporting a growing feature set.

Compare and contrast with React code from 2-3 years ago... it’s night and day.

Show thread

Complaining about React and JS 😫 

@gueorgui I've been a React developer since history times, would be interested in getting into a discussion about it with you... I want to learn more about the React hate I encounter in certain communities and maybe adjust my understanding

Complaining about React and JS 😫 

@flip Hey! I don't know if it's hate or just frustration coming from a lack of understanding. I find that I'm constantly forced to adjust ways of working to accomodate React and its ecosystem. For example, I'm working on a simple form built with redux-form, and checkboxes can only have boolean values, so there's no simple way for me to build a form that sends an array of IDs to the backend (this is very easy in plain HTML). Frustrating!

Complaining about React and JS 😫 

@flip My other major complaint is having to build a large part of the app twice: once on the backend, once on the frontend (data structures, validations, etc). When working with limited resources, it feels like just too much labour.

Complaining about React and JS 😫 

@gueorgui Ah, in this specific area, are you looking for something more like Rails?

Complaining about React and JS 😫 

@flip I'm happy with plain rails views progressively enhanced with bits of stimulus JS :) I don't always get to choose the tech though, this is fairly legacy code, from back when redux-forms was cool.

Complaining about React and JS 😫 

@gueorgui I think it really comes down to what you're working on and what you as a developer want to spend your time doing

For my teams, using something like Rails would cause a lot more problems than it would solve... we deploy to web, iOS, Android, FireTV, Apple TV, Roku, Vizio Smart TV, Samsung Smart TV, Alexa... there's more

So any form of coupling just isn't going to fly

Complaining about React and JS 😫 

@gueorgui I will say... Redux is a scam. Anything associated with Redux is a scam. It's only going to complicate your app

Complaining about React and JS 😫 

@gueorgui I still have a schema of how redux works from my first day at a job and I still don't understand it. To be honest I'm not sure I get js frameworks outside of the component thing with props and basic stuff. :|

Complaining about React and JS 😫 

@gueorgui use svelte, you'll never look back ! :)

Complaining about React and JS 😫 

@0gust1 I've heard good things :) But if I had my pick of a tech stack I'd just stick with progressively-enhanced HTML with bits and pieces of JS.

Complaining about React and JS 😫 

@gueorgui very sane posture imho !

Complaining about React and JS 😫 

@gueorgui KentcDodds just published a really good article on state management in react.

But I can see how if you are working with somebody elses legacy code using react can be really frustrating

Complaining about React and JS 😫 

@gueorgui I feel you.

Sign in to participate in the conversation
Merveilles

Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information β€” A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.