Just use `data-src` or `data-srcset` for any media elements.
Make use of the `onLeave` callback. See the source code here!