JSFiddle - React, Tailwind, and code Playground
JavaScript
jQuery(window).ajaxComplete(function () { alert('fish'); });
jQuery.ajax("https://cors-test.appspot.com/test").complete(function () { alert('moo'); });
jQuery(window).ajaxComplete(function () { alert('fish'); });
jQuery.ajax("https://cors-test.appspot.com/test").complete(function () { alert('moo'); });