qwik icon indicating copy to clipboard operation
qwik copied to clipboard

VDOM is not able to track the complete removal of a property

Open manucorporat opened this issue 3 years ago • 1 comments

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.

manucorporat avatar Mar 14 '22 13:03 manucorporat

Deps on https://github.com/BuilderIO/qwik/issues/271

manucorporat avatar Mar 14 '22 13:03 manucorporat