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
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
22462246To 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
You can’t perform that action at this time.
0 commit comments