react报错:Cannot read property ‘forEach‘ of undefined at Object.injectIntoGlobalHoo

After the react project starts, the console reports an error

insert image description here
Error message: Cannot read property 'forEach' of undefined at Object.injectIntoGlobalHoo

Solution: Delete (not disable, but remove or delete) the extension about react in the browser, and then refresh the page.

The process of solving the problem is recorded here, and some ideas are also given to the friends. Please let me know if there are any imprecise places.

Guess you like

Origin blog.csdn.net/qq_39352780/article/details/109774236
Recommended