I have a Jquery function on my componentWillMount at reactJS:
$(document).ready(function(e) {
this.myFunction();
}
And a arrow function declared down bellow:
myFunction = () => {
alert("Jquery is ready!");
}
Why im getting this.myFunction() is not a function error?