How to write good ES6 JS: Only use `const`. When that fails, switch to `let`. Don’t use `var` or global scope. Also, avoid `this`.
-
-
@wycats Ruh roh… *runs away from incoming subtweet hailstorm* -
@tdreyno and hopefully you are in favor of using 'this' in methods? Or against es6 classes too? -
@wycats Against classes too, personally. -
@tdreyno sorry if I sound aggressive. Not my intent. Just trying to understand your position in 140 char snippets. -
@wycats I have a full understanding for your tweet style :) Let me have it, no hard feelings. Especially since you have insider knowledge. -
@tdreyno interested in how you came to be against classes. -
@wycats Easier if I just blog about it, but it’s mostly personal style. This resonates with me: https://github.com/reactjs/react-future/blob/master/01%20-%20Core/03%20-%20Stateless%20Functions.js … -
@tdreyno I find it over-simplistic, but I also like thinking of components like functions.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.