You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is the code snippet I wrote for changing aria-busy on an interval and inside the <Button></Button> reading that aria-busy turning it to a Signal to add transitions using useTransition hook.
Expected turning aria-busy to a Signal and passing it to useTransition hook would just work.
What I got
Turns out making aria-busy into a Signal inside the component doesn't work due it being a Lexical Scoping I think and that's why the value isn't reactive. If that's the case then please teach me what should I do. If that's not the case then why is it not working as expected and how can I make it to work?
Which component is affected?
Qwik Optimizer (rust)
Describe the bug
Describe
Below is the code snippet I wrote for changing aria-busy on an interval and inside the
<Button></Button>
reading that aria-busy turning it to aSignal
to add transitions usinguseTransition
hook.Expected
Expected turning
aria-busy
to aSignal
and passing it touseTransition
hook would just work.What I got
Turns out making
aria-busy
into aSignal
inside the component doesn't work due it being a Lexical Scoping I think and that's why the value isn't reactive. If that's the case then please teach me what should I do. If that's not the case then why is it not working as expected and how can I make it to work?Reproduction
https://stackblitz.com/edit/vitejs-vite-khc7uk?file=src%2Fmain.tsx
Steps to reproduce
No response
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: