Skip to content

Commit cb3eb2a

Browse files
committed
minor symfony#2741 [LiveComponent] Improve misleading smart render algorithm docs (norkunas)
This PR was merged into the 2.x branch. Discussion ---------- [LiveComponent] Improve misleading smart render algorithm docs | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | definitely | Issues | N/A | License | MIT Commits ------- 76fe1bb [LiveComponent] Improve misleading smart render algorithm docs
2 parents d815a1b + 76fe1bb commit cb3eb2a

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
@@ -3503,7 +3503,7 @@ when the component re-renders.
35033503

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

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

0 commit comments

Comments
 (0)