qwik
qwik copied to clipboard
VDOM is not able to track the complete removal of a property
Repo case:
export const Main = component$(() => {
const state = useStore({ aria: true });
return $(() => {
return state.aria
? <div aria-hidden="true"></div>
: <div></div>
});
});
When toggling state.aria, aria-hidden will not be removed.
Deps on https://github.com/BuilderIO/qwik/issues/271