The jsx component renders the slot content. After the data changes, the dom attribute is not updated. #12709
Open
Description
Vue version
3.5.13
Link to minimal reproduction
Steps to reproduce
When clicking any test component, the color of the component in front of it and the element in the slot named b is not updated to green (now it is red). The text content is updated, but the style is not updated.
What is expected?
The class attribute of the dom in the slot named b should change to green.
What is actually happening?
Now I add variables to the dom in the slot named b. When I click the test component, the dom element content is updated, but the class is not updated. The real dom should become class="text green", but now it is class="" text red", it looks like when rendering the slot in jsx, there is variable content in the slot, and the dom attribute is not updated successfully.
System Info
No response
Any additional comments?
No response