react-router-dom versions and peer dependencies

The table below has a list of all versions of react-router-dom compatible peers dependencies.

Version Peer Dependency Versions
5.0.0 - 5.2.0
  • react @ >=15
4.2.0 - 4.3.1
  • react @ >=15
4.0.0 - 4.1.2
  • react @ ^15