Problem with Hot Reloading #959

Closed
opened 2025-08-09 17:18:19 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @Tomk77 on 3/6/2017

Hi,

Hot reloading isn't always reloading the changes I make to my code, but it only seems to go wrong when I'm nesting routes.

My routing:

<Route component={Layout}>
        <Route path='/' component={AccessWrapper}>
            <Route path='/login' component={Login} />
        </Route>
    </Route>

When I navigate to / and change something it reloads fine.

When I nagivate to /login and change the exact same thing I just changed it doesn't reload anymore, none of the changes make the page reload when I'm on the /login page.

Could you tell me what I'm doing wrong?

*Originally created by @Tomk77 on 3/6/2017* Hi, Hot reloading isn't always reloading the changes I make to my code, but it only seems to go wrong when I'm nesting routes. My routing: ``` <Route component={Layout}> <Route path='/' component={AccessWrapper}> <Route path='/login' component={Login} /> </Route> </Route> ``` When I navigate to / and change something it reloads fine. When I nagivate to /login and change the exact same thing I just changed it doesn't reload anymore, none of the changes make the page reload when I'm on the /login page. Could you tell me what I'm doing wrong?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#959
No description provided.