HNHacker News
TopNewBestAskShowJobs

syz

4 karma · joined February 4, 2016

submissionscomments
syz··on Show HN: Cairn – A tiny library for improved styling in React Native
Author here. I welcome any feedback or questions!
syz··on Performance Engineering with React, Part 1
Ah, of course. Thank you for the clarification.
syz··on Performance Engineering with React, Part 1
With the ES6 class syntax, is it possible to avoid the function.bind/anonymous function issue (and subsequent need for the whole IntermediateBinder thing) by redefining methods that will be passed into a subcomponent in the constructor to their bound equivalent? That is, in the constructor: `this.foo = this.foo.bind(this)` and in render: `<SubComponent foo={this.foo} />`?