react-devtools: By default DevTools listen to port 8097 on localhost. How to customise?
问题 I'm trying to install the standalone react-devtools, which by default listens to port 8097. My app uses port 3001. The documentation says the following: "By default DevTools listen to port 8097 on localhost. If you need to customize host, port, or other settings, see the react-devtools-core package instead." How do I go about changing the port to listen to 3001 instead? Source: https://github.com/facebook/react-devtools/tree/master/packages/react-devtools 回答1: The docs advise to have a look