We built something similar with Up.js [0].
Rather than wrapping some responses in JSON, Up.js doesn&#x27;t require any server-side changes. Fragments are selected client-side via CSS selectors.<p>0: <a href="http:&#x2F;&#x2F;upjs.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;upjs.io&#x2F;</a>