htmx is a javascript library that allows you to access AJAX, WebSockets and Server Sent Events directly in HTML, using attributes. It is small (~7k min.gz'd), dependency-free, extendable & IE11 compatible.
Website Demo