BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

The react developer tool introduces an error.

Open liweitian opened this issue 6 years ago • 3 comments

Describe the bug

In the main branch, open the dev tool with react developer tools extension installed. Open localhost:3000. Refresh the page or do anything that may re-render the page. Then an error appears. The debug process is influenced. Not sure whether this bug is from our project since if we disable the extension, the error won't appear.

Browser

  • [ ] Electron distribution
  • [x ] Chrome
  • [ ] Safari
  • [ ] Firefox
  • [ ] Edge

OS

  • [ ] macOS
  • [x ] Windows
  • [ ] Ubuntu

Screenshots

QQ图片20200715173300

liweitian avatar Jul 15 '20 09:07 liweitian

@liweitian What version of react dev tools is causing this?

hatpick avatar Jul 16 '20 17:07 hatpick

4.8.0 and 4.8.1 have that issue due to an empty <Suspense> tag in DesignPage.tsx#L462

4.8.2 solves the issue, please update.

hatpick avatar Jul 16 '20 18:07 hatpick

The error is solved on my side now.

liweitian avatar Jul 17 '20 06:07 liweitian