react-hook-form / devtools

📋 DevTools to help debug forms.
https://react-hook-form.com/dev-tools
MIT License
638 stars 48 forks source link

Uncaught TypeError: Cannot read properties of undefined (reading 'subscribe') #193

Closed AbhinavAchha closed 1 year ago

AbhinavAchha commented 1 year ago
at @hookform_devtools.js?v=6e4c9cbe:1832:68
at commitHookEffectListMount (chunk-IFVMXUAK.js?v=6e4c9cbe:16904:34)
at commitPassiveMountOnFiber (chunk-IFVMXUAK.js?v=6e4c9cbe:18152:19)
at commitPassiveMountEffects_complete (chunk-IFVMXUAK.js?v=6e4c9cbe:18125:17)
at commitPassiveMountEffects_begin (chunk-IFVMXUAK.js?v=6e4c9cbe:18115:15)
at commitPassiveMountEffects (chunk-IFVMXUAK.js?v=6e4c9cbe:18105:11)
at flushPassiveEffectsImpl (chunk-IFVMXUAK.js?v=6e4c9cbe:19486:11)
at flushPassiveEffects (chunk-IFVMXUAK.js?v=6e4c9cbe:19443:22)
at performSyncWorkOnRoot (chunk-IFVMXUAK.js?v=6e4c9cbe:18864:11)
at flushSyncCallbacks (chunk-IFVMXUAK.js?v=6e4c9cbe:9135:30)

devtools version: ^4.3.0 (latest) react-hook-form version: ^7.43.4 (latest)

fleonard commented 1 year ago

Noticed the same issue. It was also happening on versions 7.43.2 and 7.43.3. If it helps seems like it's coming from the <Panel> component.

bluebill1049 commented 1 year ago

yes, already fixed will publish the fix tonight. Thanks for the reporting.

bluebill1049 commented 1 year ago

looks like not fixed, please keep track it here: https://github.com/react-hook-form/react-hook-form/issues/10051