Viewing profile — ChrisGaudreau
ChrisGaudreau
HN member- Joined
- Fri, Mar 21, 2014, 2:08 AM UTC
- HN karma
- 298
- Public activity
- 95 items
- HN profile
- View on Hacker News ↗
About ChrisGaudreau
No profile information was provided.
Recent public activity
- story
-
comment
Comment #9638957
In the context of React, it allows you to implement a `shouldComponentUpdate` method which simply compares the references of two objects, which is extremely fast. If the references…
-
comment
Comment #9624929
Prototype-type based systems are cool in theory, but aren't much fun to use in practice. They are incredibly powerful and easy to abuse. Basically single inheritance in disguise. C…
- story
-
comment
Comment #9589304
I think I actually had a similar problem, but using `filter`. Don't really remember though.
-
comment
Comment #9556521
Separation of concerns and separation of technologies are a different thing. It would appear you haven't done your research. See Pete Hunt's famous talk: https://www.youtube.com/wa…
- comment
-
comment
Comment #9535549
I prefer flipped smileys. (:
- story
- story
- story
-
comment
Comment #9474733
http://facebook.github.io/react/blog/2015/02/20/introducing-...
- story
-
comment
Comment #9405467
Would this technique work to center, say, an tag with undeclared dimensions inside of a div? Or do you have to jump through hoops?
-
comment
Comment #9379231
An alternative using ES6 object parameters: function addObserver(observer, func, { weak = false } = {}) { if (weak) { // ... } } addObserver(observer, 'load', { weak: true });
- story
- story
- story
- story
-
comment
Comment #9301280
> the fact that it is hosted makes it a non starter. What do you mean?
- story
-
comment
Comment #9140872
Just Ember. I'm pretty sure Ember doesn't even have a dependency on Handlebars anymore. (possibly only off stable)
-
comment
Comment #9086371
A Pry for Go would be enough to make me switch fully to Go.
- story
-
comment
Comment #8697297
Except that corn is used for more than just ethanol.