Skip to content

Commit 76fe1bb

Browse files
authored
[LiveComponent] Improve misleading smart render algorithm docs
1 parent 01fcd17 commit 76fe1bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3507,7 +3507,7 @@ when the component re-renders.
35073507

35083508
The system doesn't handle every edge case, so here are some things to keep in mind:
35093509

3510-
* If JavaScript changes an attribute on an element, that change is **preserved**.
3510+
* If JavaScript changes an attribute on a child element, that change is **preserved**.
35113511
* If JavaScript adds a new element, that element is **preserved**.
35123512
* If JavaScript removes an element that was originally rendered by the component,
35133513
that change will be **lost**: the element will be re-added during the next re-render.

0 commit comments

Comments
 (0)