r/Clojure • • Mar 20 '21

Evolution of ReactJS vs Reagent (2013 - 2021)

https://www.youtube.com/watch?v=pd8kWJVDQD4
74 Upvotes

15 comments sorted by

View all comments

10

u/GuerreiroAZerg Mar 20 '21

I know the video is just for fun, but while React is the library that does all the magic, Reagent is a wrapper over that library. I may be wrong, but I think this is the fact that makes it possible to Reagent to stay the same for so much time

16

u/[deleted] Mar 20 '21 edited Mar 22 '21

That is not my point. My point was to show how much time we waste while trying to keep with the JS "upgrades" . I am using ReactJS as an example, but it can apply to any JS library: Redux, Material UI... we see the same pattern. To quantify the hours lets do some estimation:

Assumption (2021)

  • 12M professional JS developers world wide

  • 10 devs per team (1.2 M teams)

  • Now let's assume that you need to "upgrade" at least 2 packages every year (nodejs, react, material ui etc)

  • And let's say it takes at least 2 sprints (1 sprint = 2 weeks) to make that upgrade and requires at least 1 intermediate developer per package (2 per team) o make this upgrade on a medium size code base (100K LOC)

  • And finally lets assume this developer works full time

With that, the total time loss :1.2M teams * 2 packages * 4 weeks ( 2 sprints * 2 weeks/sprint) * 40 hours = 384M engineering hours lost.

Remember Engineering is the MOST expensive resource for any business. Wouldn't it be wise decision to spend all this time on adding new features.

I mean clients don't really care what languages or framework we use. All they care about is how fast can they finally use that "new" feature that makes their lives a little bit easier..

I should have added this in the video but oh well :).

3

u/GuerreiroAZerg Mar 20 '21

That's a great point, thanks. What do you think causes all this churn? I see that React changed it's API a lot, but the concept remained the same, while Angular threw everything away. Redux is pretty much the same since ever, only adding a few tools like redux toolkit on top of it. Redux-saga as well. But in fact there's too many language features in javascript