Component doesn't react to changes in Signal
Hi! So I'm not sure why but my component is not reacting when a Signal changes.
The signal is defined globally:
This is my
The Signal is set in some event handler from a third-party library.
The effect runs and prints the new
I tried directly calling
Any clues?
The signal is defined globally:
This is my
App.tsx file:The Signal is set in some event handler from a third-party library.
The effect runs and prints the new
authState when it updates, but the actual component/markup itself just refuses to update it.I tried directly calling
setAuthState and that somehow works, but inside a timeout or a third-party event handler, it doesn't.Any clues?
