Tuesday, September 29, 2020

How to debug some react code.

Build a non-compressed main.js file usable by the debugger.

go react npm run debug

update npm:

sudo npm -g update npm
hash -r # https://stackoverflow.com/questions/23393707/how-to-update-npm