Deeply nested Components under an ::each directive render before attributes are set #8

Closed
opened 2026-01-13 21:43:45 +00:00 by endeavorance · 2 comments
Owner

This causes the template to not be able to swap in attribute values unless you specify attributes in the liveAttributes field. That's an okay workaround for now, but a fix for this is necessary before 1.0.0

This causes the template to not be able to swap in attribute values unless you specify attributes in the `liveAttributes` field. That's an okay workaround for now, but a fix for this is necessary before 1.0.0
endeavorance added this to the 1.0.0 milestone 2026-01-13 21:43:45 +00:00
endeavorance modified the milestone from 1.0.0 to 0.2.0 2026-01-14 00:21:52 +00:00
Author
Owner

This can be fixed with a change to the timing of the render in the connected callback within Components

Queuing the initial render as a microtask should shift the order of operations such that attributes settle before the initial render on child components

Moving this up to 0.2.0

This can be fixed with a change to the timing of the render in the connected callback within Components Queuing the initial render as a microtask should shift the order of operations such that attributes settle before the initial render on child components Moving this up to 0.2.0
Author
Owner
Fixed in https://git.astral.camp/rusticarcade/palette/commit/07e36920e4b859d85f36bee37bad1e43386f7a6f
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rusticarcade/palette#8
No description provided.