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
I recently started using 6.0.2 and have noticed that useIsConnected will return null prior to the first "check". This breaks a lot of assumptions that I had from 5.X since it defaulted to true previously.
I now need to do a bunch of null checks to prevent running logic that was only intended for false
Expected Behavior
I expect the value to be true until we have determined that it is false.
I expect the typing for useIsConnected to reflect what it will return
Current Behavior
useIsConnectedwill return null prior to the first "check". This breaks a lot of assumptions that I had from 5.X since it defaulted to true previously.falseExpected Behavior
I expect the typing foruseIsConnectedto reflect what it will returnHow to reproduce
Your Environment