Possible error in an example - confusion between react router 5 & 6
Closed this issue · 0 comments
MatanBobi commented
Discussed in https://github.com/testing-library/testing-library-docs/discussions/1064
Originally posted by balteo May 19, 2022
Hello
It seems the following example (https://testing-library.com/docs/example-react-router) uses the Switch
component from react router 5 whereas the example title indicates react router 6. This is possible error in the documentation.
Kind regards
Thanks @balteo for reporting this in a discussion.