DEV Community

Joe Pool
Joe Pool

Posted on

Debug React

I have to debug a website built with React (16.12.0 per the package.json file).

When the Customer clicks "Next" in the process, the next page loads with the bottom of the page shown instead of the top.

The problem is that there is no React.js page that is loaded. I'm still on the same page and the URL hasn't changed, so I can't step through the OnLoad event.

I set a breakpoint on the mouse click() event in Chrome, but it ends with a call to an anonymous "await function" that I cannot find where it is created.

Work told me to watch some training videos on React.js, but those are too basic.

Does anyone know what I could look for?

Top comments (0)