Thank you, this seems to do it for the innerText. Would it be too hard to apply it to the class attribute too? (I've tried to just copy the {} binding, but it doesn't work)
Thank you both! I now have a much better understanding on how React works. I need to update the related performance benchmarks, it would be interesting to see how they compare side-by-side on our use cases.
Comments
Thank you, this seems to do it for the innerText. Would it be too hard to apply it to the class attribute too? (I've tried to just copy the {} binding, but it doesn't work)
Here, I gave it a try: http://jsfiddle.net/bD68B/1/
There you go: http://jsfiddle.net/Q2KXu/1/
Thank you both! I now have a much better understanding on how React works. I need to update the related performance benchmarks, it would be interesting to see how they compare side-by-side on our use cases.
Don't forget [PureRenderMixin][1], it can give a big perf boost when used in right places.
[1]: http://facebook.github.io/react/docs/pure-render-mixin.html