public Renderer::executeInRenderContext(RenderContext $context, callable $callable)
Executes a callable within a render context.
Only for very advanced use cases. Prefer using ::renderRoot() and ::renderPlain() instead.
All rendering must happen within a render context. Within a render context, all bubbleable metadata is bubbled and hence tracked. Outside of a render context, it would be lost. This could lead to missing assets, incorrect cache variations (and thus security issues), insufficient