Skip to content

Commit 9b3ae1f

Browse files
committed
more tweaks
1 parent 851439e commit 9b3ae1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,8 +2227,8 @@ Deferring / Lazy Loading Components
22272227

22282228
The ability to defer loading a component was added in Live Components 2.13.
22292229

2230-
If a component is heavy to render, you can defer loading it until after
2231-
the page has loaded. To do this, use the ``defer`` attribute:
2230+
If a component is heavy to render, you can defer rendering it until after
2231+
the page has loaded. To do this, add the ``defer`` option:
22322232

22332233
.. code-block:: twig
22342234
@@ -2244,7 +2244,7 @@ real component once the page has loaded.
22442244
your component (e.g. ``getProducts()``) that are only called when rendering.
22452245

22462246
To add some loading text before the real component is loaded, use the
2247-
``loading-template`` option to point to a loading template
2247+
``loading-template`` option to point to a template:
22482248

22492249
.. code-block:: twig
22502250

0 commit comments

Comments
 (0)