What's the best practive to detect an AJAX request in EE4 without activating PHP in the template?
With the previous version of EE, I used the Ajax Detect Conditional ({if ajax}, {if not_ajax}) from Mo'Variables, but the add-on is not EE4 compatible.
Thank you