From 2942a27f73400024c734527a06bcff07b79cfc8b Mon Sep 17 00:00:00 2001 From: Ryan Lee Date: Tue, 23 Nov 2021 09:25:13 -0800 Subject: [PATCH] adds note about react-router history compatibility --- docs/example-react-router.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/example-react-router.mdx b/docs/example-react-router.mdx index 00ae687ce..b9040d748 100644 --- a/docs/example-react-router.mdx +++ b/docs/example-react-router.mdx @@ -3,6 +3,13 @@ id: example-react-router title: React Router --- +> **Note** +> +> If you are using react-router v5 you will need to install history ^4.9.0 for +> compatibility reasons. See [issue +> 869](https://github.com/testing-library/react-testing-library/issues/869) for +> details. + ```jsx // app.js import React from 'react'