web-js icon indicating copy to clipboard operation
web-js copied to clipboard

Add hinclude alternative or esi alternative component

Open alexander-schranz opened this issue 1 year ago • 0 comments

We can use a fragment_uri to load user specific data over ajax. We should have a deeper look at the implementation of @martinlagler in Kügö where it also supports lazy loading.

Something like:

<div id="{{ prepare_component('ajax-include') }}" data-uri="{{ fragment_uri(controller(...)) }}" aria-busy="true"></div>

See also: https://github.com/sulu/web-twig/issues/10

alexander-schranz avatar Sep 25 '23 10:09 alexander-schranz