Live data from Hacker News

You probably don't need a JavaScript framework

slack-files.com

31–40 of 356 posts

Re: You probably don't need a JavaScript framework

#31

This! This times a million times!!~! Seriously. The javascript world is INSANE. All these frameworks and few truly need them... node.js package management is a mess... yet how many of these coders will take the time to learn real ES5? It really isn't that hard of a language. I feel like calling oneself a "javascript" expert practically requires knowledge of a framework or too. This is saddening, because Javascript it…

As a javascript-noob, not even jquery? I've heard jquery solved so many headaches.

Re: You probably don't need a JavaScript framework

#32
post #24
post #7

Earlier quoted context omitted.

"That the author kind of misses this point makes me pay less attention to the rest of the post." Too bad. The author addressed everything you said. You just didn't read past the sentence you quoted. Nowhere does the piece imply that you should render every state change server-side. In fact, it goes on to show, with specific examples, of how you can get data-binding and partial-update behavior with web-native APIs. Th…

I think I agree with you, but your comment breaks the HN guidelines twice: the first paragraph is uncivil and the final one goes on about getting downvoted. It also pretty much breaks the injunction against "did you even read the article" comments, so that's three. Please don't do these things when commenting here, regardless of how irritatingly wrong someone else may be. The middle paragraph is helpful and fine, and…

The first paragraph wasn't uncivil. He said that he didn't read past the first few sentences of the article:

"That the author kind of misses this point makes me pay less attention to the rest of the post."

If they had read the rest of the post, they would have seen that their argument was addressed.

You're being unfair here. The top-rated comment is from someone mischaracterizing the piece, saying he didn't read it...and you're calling me out for pointing that out.

Re: You probably don't need a JavaScript framework

#33
You don't need a JavaScript framework. You just need a bunch of stuff that you can't use because it isn't supported in IE9.

> HTTP/2 is widely supported by web browsers already. At the time of writing, 70.15% of visitors has support for the updated protocol.

Oh yay, so only another 5-10 years until I can use it.

Re: You probably don't need a JavaScript framework

#34
post #32
post #24

Earlier quoted context omitted.

I think I agree with you, but your comment breaks the HN guidelines twice: the first paragraph is uncivil and the final one goes on about getting downvoted. It also pretty much breaks the injunction against "did you even read the article" comments, so that's three. Please don't do these things when commenting here, regardless of how irritatingly wrong someone else may be. The middle paragraph is helpful and fine, and…

The first paragraph wasn't uncivil. He said that he didn't read past the first few sentences of the article: "That the author kind of misses this point makes me pay less attention to the rest of the post." If they had read the rest of the post, they would have seen that their argument was addressed. You're being unfair here. The top-rated comment is from someone mischaracterizing the piece, saying he didn't read it..…

I don't see that. Actually the only bit that seems uncivil to me is just "You just didn't read past the sentence you quoted." You can't know that, and such statements are the internet comment equivalent of elbowing.

Re: You probably don't need a JavaScript framework

#35
post #2

I have been avoiding JS for years (not out of hate, just the job) and every time I dabble in the node/js framework ecosystem I end up turning away frustrated. I have a few small personal projects that I haven't started due to lack of desire in building the front end I want, after reading this I'm going to give them a shot and see how far I can go with out all the goodies!

I was in the same boat, tried reading tutorials for Angluar/Ember/Backbone/etc and wanted to throw up because of all the complexity and prior web experience/knowledge that they expect you to know. But then tried Meteor and everything there made a lot of sense to me.

Meteor is a great stepping stone to the more complicated JavaScript ecosystem of node/react/angular/webpack etc. I was a huge fan of it when I first started web development, but all its limitations caused me to switch over to using the above mentioned technologies. I highly recommend it to any beginner to web dev!

Re: You probably don't need a JavaScript framework

#36
post #18

Earlier quoted context omitted.

In reality JavaScript size means very little when a single image might be 500k.

Did you not see that headline about how the average page now is the size of a Doom install?

Mainly because an average page has much higher resolution graphics than Doom.

Re: You probably don't need a JavaScript framework

#37
The point of React isn't its performance (though that is nice). The point of React is the simplicity and composability of functional components.

You can create this on your own of course (and I have), but the solution of "just use the DOM" ignores an enormous amount of progress that React made with component design, not performance.

Re: You probably don't need a JavaScript framework

#38

React doesn't exist to handle the massive amounts of data that facebook has. React exists to make complex UIs easier to build and maintain. Being able to just write the code once to render a UI from some state and then just reloading the entire UI when the state changes is an incredible simplification of your code. That the author kind of misses this point makes me pay less attention to the rest of the post.

Moreover, I don't even consider React a framework. I consider it a library for my creating my view layer. Frameworks, at least to me coming from back end, have all sorts of extra bells and whistles. Something like Angular I would consider a framework and it has its OWN view layer inside. But React feels much different, it feels like something your (non-view layer) framework should feed into, not replace entirely.

React calls itself "a JavaScript library for building user interfaces", which I think is accurate.

Re: You probably don't need a JavaScript framework

#39
post #18

Earlier quoted context omitted.

In reality JavaScript size means very little when a single image might be 500k.

Unfortunately I have to disagree. The JavaScript Engine still have to parse and interpret the code. This can take a bit of time, especially on mobile devices.

Parse time shouldn't be very long at all, especially compared to network latency. How long does it take for large (~100-150kb minified) to be parsed and interpreted? I'd be surprised if it's more than 100ms

Re: You probably don't need a JavaScript framework

#40
post #31

This! This times a million times!!~! Seriously. The javascript world is INSANE. All these frameworks and few truly need them... node.js package management is a mess... yet how many of these coders will take the time to learn real ES5? It really isn't that hard of a language. I feel like calling oneself a "javascript" expert practically requires knowledge of a framework or too. This is saddening, because Javascript it…

As a javascript-noob, not even jquery? I've heard jquery solved so many headaches.

it solved differences between older browsers. now, they tend to follow standards, and that melding is less needed
Post reply on HN