gaearon/react-hot-loader

Entire Nested path Component is reload on change in Child component

Rohitbels opened this issue · 1 comments

Description

I am using React-router with nested routing.
For a update to child component Hot Reloading works but the Nested path parent component is reloaded entirely and hence I lose my local state.

Expected behavior

Only child component should get updated .

Environment

React Hot Loader version: 4.12.21
React-router-dom: 5.0.0

Run these commands in the project folder and fill in their results:

  1. node -v: 10.18
  2. npm -v: 6.13

Then, specify:

  1. Operating system: Windows
  2. Browser and version: Chrome

My Bad this was something related to HOC