[wp-trac] [WordPress Trac] #60311: Editing interface prompts error
WordPress Trac
noreply at wordpress.org
Thu Jan 30 10:16:47 UTC 2025
#60311: Editing interface prompts error
---------------------------+------------------------------
Reporter: chengjianping | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Comment (by ermiuyo):
1. The component tree has changed, but React still holds references to old
nodes.
2. A missing or incorrect key in a list causes React to misidentify
elements.
3. Conditional rendering removes elements unpredictably.
4. Directly manipulating the DOM instead of relying on React’s virtual
DOM.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60311#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list