I have a reactjs component:
var com1 = React.createClass({
render: function() {
return (
<a href='#'>This is a text</a>
);
}
});
I want to execute Javascript/Jquery once rendering of this componenet has completed. Simply adding Javascript to the render method doesn't seem to work.
How would I achieve this?
com1.promise().done(fn)
.