React dev tools - Deactivate “break on warnings”

后端 未结 6 2268
说谎
说谎 2021-02-11 11:45

While developing with create-react-app, my browser enters debugger mode on warnings:

It breaks on the source code of react-dev-tools:



        
6条回答
  •  眼角桃花
    2021-02-11 12:15

    Go to Chrome Devtools → in the Chrome console, go to Component → Click on Settings → unset Break on Warning. Do the same in ProfilerSettings → unset Break on warning.

    @cadoman pointed check and then uncheck to make work for sure.

    P.S: Image from https://github.com/facebook/react/issues/19308#issuecomment-656669792

提交回复
热议问题