let h = rsx! {
circle {
cx: 50,
cy: 50,
r: 40,
stroke: "green",
fill: "yellow"
}
};
Only generates 1 dynamic attribute in its output when it should in fact be generating 3 dynamic nodes, causing the current failures we see with playwright tests.
Playwright caught this since we now write all watched templates out to hotreload on first load to support css hotreloading (which is admittedly a strange behavior, but interesting that it caught this).
Environment:
Dioxus version: [e.g. v0.17, master]
Rust version: [e.g. 1.43.0, nightly]
OS info: [e.g. MacOS]
App platform: [e.g. web, desktop]
Questionnaire
[ ] I'm interested in fixing this myself but don't know where to start
[x] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later
Problem
This block of rsx
Only generates 1 dynamic attribute in its output when it should in fact be generating 3 dynamic nodes, causing the current failures we see with playwright tests.
Playwright caught this since we now write all watched templates out to hotreload on first load to support css hotreloading (which is admittedly a strange behavior, but interesting that it caught this).
Environment:
master
]nightly
]web
,desktop
]Questionnaire