Entire Nested path Component is reload on change in Child component
Rohitbels opened this issue · 1 comments
Rohitbels commented
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:
node -v
: 10.18npm -v
: 6.13
Then, specify:
- Operating system: Windows
- Browser and version: Chrome
Rohitbels commented
My Bad this was something related to HOC