From 3c0e1ca340fd9b02b5d885744ce5f50fca1271b9 Mon Sep 17 00:00:00 2001 From: Maxime Veber Date: Fri, 9 Aug 2024 14:52:54 +0200 Subject: [PATCH] [Doc] fix some comments in component defer part --- src/LiveComponent/doc/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LiveComponent/doc/index.rst b/src/LiveComponent/doc/index.rst index 7aeb1a27de9..4e8130437f5 100644 --- a/src/LiveComponent/doc/index.rst +++ b/src/LiveComponent/doc/index.rst @@ -2311,12 +2311,12 @@ the page has loaded. To do this, add a ``loading="defer"`` attribute: .. code-block:: html+twig - {# With the component function #} + {# With the HTML syntax #} .. code-block:: twig - {# With the HTML syntax #} + {# With the component function #} {{ component('SomeHeavyComponent', { loading: 'defer' }) }} This renders an empty ``
`` tag, but triggers an Ajax call to render the