community icon indicating copy to clipboard operation
community copied to clipboard

React preview not updating when changing resource url

Open Pistus opened this issue 3 years ago • 0 comments

Reported on discord in #bugs-and-feedback.

Found this bug in the Capstone project from the React Course + video.

With more info from Daniel Ross:

This is a router issue. You are at /index.html, which doesn't have a route specified (notice that when you saved after your change that the path changed from / to /index.html). Just type / directly into the mini-browser's address bar and it will work fine. This isn't related to remixicon or the change you made to the html and is a Scrimba specific issue. (@Leanne from Scrimba) It looks like you have to manually make the change in the address bar every time you edit the html file, but if you just edit the JS it shouldn't revert.

Video of issue: https://user-images.githubusercontent.com/1829960/125255064-596e4680-e2fb-11eb-99c1-ea379b474ba0.mp4

Pistus avatar Jul 12 '21 08:07 Pistus