Re:Learning Node.js and React while building a product
by Androider on Tuesday June 13, 2017 @01:29PM
(#14546635)
Nowadays you can just stick a class property anywhere in your React component:
and the use it in your render function like this without any binding:
[ Parent
| on HN ]
Re:Learning Node.js and React while building a product
by miroslavpopovic on Tuesday June 13, 2017 @04:04PM
(#14548116)
Yes, class properties are the way to go.