Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2214,6 +2214,10 @@ When a component re-renders, the new HTML if "morphed" onto the existing
elements on the page. For example, if the re-render includes a new ``class``
on an existing element, that class will be added to that element.

.. versionadded:: 2.8

The smart re-render algorithm was introduced in LiveComponent 2.8.

The rendering system is also smart enough to know when an element was changed
by something *outside* of the LiveComponents system: e.g. some JavaScript
that added a class to an element. In this case, the class will be preserved
Expand Down