Skip to content

Commit 388cee1

Browse files
authored
Add clarification about difference between component re-rendering and initial loading
Add a note that explains that the re-rendering loading states is a different concept from the components initial loading state regarding placeholders, with a link to the related "loading content" section in this doc
1 parent 9045a17 commit 388cee1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,9 @@ Or, to *hide* an element while the component is loading:
998998
<!-- hide when the component is loading -->
999999
<span data-loading="hide">Saved!</span>
10001000

1001+
Note that this is a different concept than showing a placeholder when initially loading the component itself.
1002+
See :ref:`loading content <loading-content>` for more info.
1003+
10011004
Adding and Removing Classes or Attributes
10021005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10031006

0 commit comments

Comments
 (0)