[go: up one dir, main page]

Skip to content

Hydration issue when setting initial color theme

Description

The value returned by the useColorMode hook from @docusaurus/theme-common is not working as expected, since it doesn't initiate with correct state but instead should always initiate it to the default color mode, and then trigger a new re-render to fix it after hydration.

RPReplay_Final1666293299

Edited by Lasha Kakabadze