Re:Ask HN: ReactJS – Do you use it? Do you like it?
by nearengine on Saturday June 20, 2015 @10:21PM
(#9751877)
Not all of your logic has to be in render() itself. You can define other methods on your component that will be bound to `this` in render(), so you can just call them like `this.renderFoo()`. Each one just has to return a single root node with optional children like the render() method does.
[ Parent
| on HN ]
There are no comments on this comment yet.