synthesis
synthesis copied to clipboard
Hot Refresh Support
Refactors ThemeContext, ModalContext, and PanelContext to follow React Fast Refresh guidelines by exporting only components/hooks. Moves helpers to separate .ts files to avoid full reloads on UI changes. More info in docs.
Noted! Updated the file nomenclature. I tried to merge the conflicts but the new Jolt module seems to be giving me problems.
Thanks for the useTheme catch. ThemeProvider, however, should stay because it's the React component. I realized that the useModelControlContext and usePanelControlContext hooks were both still in ModelContext and PanelContext and did some further component isolation.