-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Better react-router-dom version comment #16335
Conversation
The comment in the linked issue specifies version 5 of `react-router-dom` and not 6. In fact, there is no version 6 or greater. At this time, the current version of `react-router-dom` is 5.0.1. So, I updated the comment to say *react-router-dom < 5.0.0*
No bundle size changes comparing 0c8d847...94732b1 |
The version is correct. The usage of |
I have updated the pull request with a different wording. Does it help? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The usage of React.forwardRef might no longer be required for react-router-dom v6.
Yes indeed, after reading more comments in the linked issue, it's evident that However, I am not sure whether linking to that issue comment is useful. It seems misleading because it appears to say that |
@kyarik It's a great first pull request on Material-UI 👌🏻. Thank you for working on it! |
@oliviertassinari What a timing! You merged this right when I was about to post the above comment :) |
Interesting, I would hope that linking an open issue is enough. |
I think the link should be either to the entire issue or to this comment because otherwise you say
But that linked comment appears to imply that it is supported in v5, which contradicts the above sentence. |
👍 |
Shall I create the pull request? |
Don't worry about it, I batch small changes every now and then (after 1 week or 10 items). It will be updated to only link the issue. |
The comment in the linked issue specifies version 5 of
react-router-dom
and not 6. In fact, there is no version 6 or greater. At this time, the current version ofreact-router-dom
is 5.0.1. So, I updated the comment to say react-router-dom < 5.0.0