Hot Reloading not working on a single component but works for others #10835
Unanswered
adammenges
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I've got a pretty simple project (In case anyone's curious: https://github.com/adammenges/adammengesWebsite).
In
App.js
I've got the following router, as far as I can tell the router has nothing to do with the issue I'm seeing, but for completeness:I can swap out the
homePage
var for two different components. I literally copy and pasted one from the other so there's nearly identical, aside from the name and file, of course.One,
<Header />
, works fine and hot recording works. When I switch it to<Portfolio />
hot reloading breaks. It's wild to me, I can't for the life of me figure out what's different between the two and why hot reloading works in one situation and not the other.Thanks in advance folks!
Beta Was this translation helpful? Give feedback.
All reactions