react & web pack hot loader. “waiting for roots to load…to reload the inspector”

后端 未结 3 758
青春惊慌失措
青春惊慌失措 2021-01-11 18:03

Just updated react to 0.13.3 and now I get the following message in Chrome react developer tool: \"waiting for roots to load...to reload the inspector\" and a b

3条回答
  •  走了就别回头了
    2021-01-11 18:35

    This error is generally linked to modules not loading into the project correctly, but the cause of this when the react syntax is incorrect. Generally, it's a missing semicolon after return statements (easy to miss).

    I've confirmed this using reacts tutorial, writing it out myself, seeing this error, then commenting mine out and replacing it with the script including example.js

提交回复
热议问题