Quoted from #4 : react-router-dom dependency was quite old.
I've tried solution posted at #4 but removing react-router-dom from dependencies would make this app failed to run. Therefore, only updating react-router-dom should be suffice to fix this problem.
Fixing #2.
Quoted from #4 :
react-router-dom
dependency was quite old.I've tried solution posted at #4 but removing react-router-dom from dependencies would make this app failed to run. Therefore, only updating react-router-dom should be suffice to fix this problem.