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
If there is at least one reference in a react component to useDarkMode, then calling setDarkMode will cause the app to freeze. I'm not sure if its due to issues with this module or something else. I've tried versions 3.2.1 and then the latest 3.2.3
The text was updated successfully, but these errors were encountered:
@timsoulm, could you please provide a minimal repository with a complete reproducible example? the issue might be a mixture of your react, react-dom, and bundler settings.
I'm attempting to use the dark/light mode example in my react app exactly how it is written in the examples: https://github.com/Light-Keeper/react-singleton-hook#darklight-mode-switch
If there is at least one reference in a react component to useDarkMode, then calling setDarkMode will cause the app to freeze. I'm not sure if its due to issues with this module or something else. I've tried versions 3.2.1 and then the latest 3.2.3
The text was updated successfully, but these errors were encountered: