Skip to content

Commit 49b0ad4

Browse files
minor #748 [Live] Adding missing versionadded for smart re-rendering system (weaverryan)
This PR was merged into the 2.x branch. Discussion ---------- [Live] Adding missing versionadded for smart re-rendering system | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Tickets | From a comment on Slack | License | MIT `versionadded` was missing, which is especially important since this feature is not released yet. Commits ------- 4e026d0e [Live] Adding missing versionadded for smart re-rendering system
2 parents d2272f8 + c8b5ff5 commit 49b0ad4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2214,6 +2214,10 @@ When a component re-renders, the new HTML if "morphed" onto the existing
22142214
elements on the page. For example, if the re-render includes a new ``class``
22152215
on an existing element, that class will be added to that element.
22162216

2217+
.. versionadded:: 2.8
2218+
2219+
The smart re-render algorithm was introduced in LiveComponent 2.8.
2220+
22172221
The rendering system is also smart enough to know when an element was changed
22182222
by something *outside* of the LiveComponents system: e.g. some JavaScript
22192223
that added a class to an element. In this case, the class will be preserved

0 commit comments

Comments
 (0)