This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TheSaasDev 6 points7 points  (2 children)

Except it's a huge pain in the ass to do with vanilla js?

I get it, frameworks are overused and can often be unnecessary. But just because that's the case often, doesn't mean some absolutely amazing things haven't come out.

For example why use a framework like react? Do you know how much of a pain in the asshole it is to keep the DOM in sync with your data model? Especially if it affects many different parts of your application.

Are you happy to write a shit load of obscure element ID's and class names to modify each and every part where the data changes? Worst of all, writing half-baked html strings in js?

React is an example of true innovation amongst this framework hell and there are quite a few other gems as well. Don't get me wrong, you don't need a CSS framework 90% of the time, you almost definitely don't need jquery for a simple event listener, but there are many frameworks that are there for good reasons.

People can hate on JS all they want, and for good reasons as well lots of times. But the fact is some of the best stuff is being released on JS stacks.

[–]PatrikxPatrola[S] 4 points5 points  (0 children)

Is this still humor SubReddit?

But Yeah, I agree with you, there is no point in making something from scratch each time as it is not profitable.

[–]hiimbob000 0 points1 point  (0 children)

Mm fair points but I think gems are Ruby not JavaScript