- π©πͺGermany donquixote
Quick idea,
would it make sense to return a markup object with cacheable metadata, instead of a render element?$markup = $renderer->renderRoot($element); assert($markup instanceof MarkupInterface); assert($markup instanceof CacheableDependencyInterface);
- π¬π§United Kingdom catch
Don't have the issues to hand but there are a couple of old and new issues this should be linked to - not duplicates just tackling the same area. We still need to do this one.