Listen for bootstrap modal close event in reactjs
<p>is there a way I can listen for a bootstrap modal closing? In pure jQuery I would do something like:</p>

<pre><code>$('#myModal').on('hidden.bs.modal', function () {
     // do something…
})
</code></pre>

<p>However, what would be the appropriate way to do it in react?</p>

<p>Thanks in advance!</p>