So, I have my CRA served at localhost:3000, but once I start working on it, the ESLINT and the Prettier warnings are displayed, and the network URL is hidden. How can I find out what the local network URL is, so I can open it on other devices?
So, I have my CRA served at localhost:3000, but once I start working on it, the ESLINT and the Prettier warnings are displayed, and the network URL is hidden. How can I find out what the local network URL is, so I can open it on other devices?
If you using VS Code then hover over it, and disable it that particular line
or
Just add // eslint-disable-next-line to the line above warning is shown
and then serve that app again...
After getting network url you can just remove that comments.
I had the same issue and the only way I worked round it was:
use ifconfig or ipconfig in terminal, you will find your ip, then use http://<your-ip>:<your-project-running-port>.
e.g. http://192.168.100.7:3000