You can specify actions to run after request is executed, but right before swap is done. Adds response as o.response to options object.

Useful for clearing up DOM, running some analytics (“product was added to basket”), etc.


Before/After Request #

This example demostrates how you can interfere with request using ts-req-before.


This will work with delay
This is prevented