is there a way to listen to the render event of a react component, once React compiled the code ?
Here is the context. I don't have access to the React source code, but only to the compiled code. I try to change the wording of a button, but my modification is obiously erased by rerender of the component.
Is there something like :
document.querySelector('#myButton').addEventListener('render', function(){})
Thank you all :)
PS: I'm awared that React isn't made to work like this, but I work threw an injected script from an external js solution.