·
5 commits
to main
since this release
Patch Changes
-
370ef23: fix: prevent race condition where React loads before devtools hook is installed
The connect module's dynamic
import('react-devtools-core')yielded control beforeinitialize()could install the hook, allowing react-dom to load first and miss the connection. Added top-levelawaitto block dependent modules until the hook is ready, and updated the Vite plugin to enabletop-level-awaitin esbuild's dep optimizer.