mn22nw / favovid

0 stars 2 forks source link

fix context of `createUserWithEmail` #5

Closed krawaller closed 8 years ago

krawaller commented 8 years ago

if I'm not mistaken, the component methods aren't autobound to the component when we use the ES6 class syntax for defining it. Thus we must bind the methods to the component when we use them as callbacks.

krawaller commented 8 years ago

I also believe that React are doing away with autobinding altogether, even for the regular React.createComponent syntax. If they haven't done it already!