B

Barbara F

Developer

Stack Overflow user contributing on topics like HTML, jQuery, JavaScript, and Bootstrap modals. Reputation: 1.

WebWhy Bootstrap Modal shown.bs.modal Fires Twice in React useEffect

Learn why Bootstrap 'shown.bs.modal' event fires twice in React useEffect (empty deps, no StrictMode) but once in plain JS. Fixes include cleanup, ref guards, and react bootstrap alternatives for reliable modal events.

6 answers 1 view