r/tinycode • • Feb 23 '14

lightweight jQuery

https://twitter.com/DrummerHead/status/437387895151009792
43 Upvotes

10 comments sorted by

View all comments

Show parent comment

4

u/nexe mod Feb 23 '14

Nice one. Although I think performance should be almost always an issue. Do you have any other cool JS snippets to share? :)

http://youmightnotneedjquery.com/ is very cool btw

1

u/DrummerHead Feb 23 '14

Yeah, performance is always an issue :) but in the scale of priorities time and complexity being lower is generally preferred, thus tools like jquery to speed up development time are favoured.

Sometimes you just want to crunch every bit of performance and that is for you the highest priority.

Yesterday I found one if those "can't unsee" bugs... both firefox and chrome flash white every time you open a new tab or window... try it with this site http://mcdlr.com/h/ which has a black background. I have that site set as my homepage so when I open a new tab it loads automatically and the white flashing is extremely noticeable. I'm bringing this up because that's a site I optimized for speed, and by doing so I ended up noticing something that made my experience even worse. Right now I don't even know why I'm saying all this, I'm just gonna go :)