File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2227,8 +2227,8 @@ Deferring / Lazy Loading Components
2227
2227
2228
2228
The ability to defer loading a component was added in Live Components 2.13.
2229
2229
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 :
2232
2232
2233
2233
.. code-block :: twig
2234
2234
@@ -2244,7 +2244,7 @@ real component once the page has loaded.
2244
2244
your component (e.g. ``getProducts() ``) that are only called when rendering.
2245
2245
2246
2246
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:
2248
2248
2249
2249
.. code-block :: twig
2250
2250
You can’t perform that action at this time.
0 commit comments