Skip to content

Add doc for another usage of "data-live-id" #815

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
1 change: 1 addition & 0 deletions src/LiveComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2693,6 +2693,7 @@ The system doesn't handle every edge case, so here are some things to keep in mi
* If an element is moved from one location in the component to another,
that change is **lost**: the element will be re-added in its original location
during the next re-render.
* If a stimulus controller element is moved, depending on your DOM structure, the controller might not follow the element and get applied to another element and break your logic. To help the rendering system to be smarter you should use the `data-live-id` attribute on those elements.

Skipping Updating Certain Elements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down