-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
NavLink should render child components wrapped by withRouter #5141 #5142
Conversation
NavLink should render child components wrapped by withRouter
This falls under the same umbrella as #4704. The issue is a bit broader than just |
@ryanflorence @timdorr any chance of some feedback on this, or some progress on #4704? I've created a simple failing test in this PR which should illustrate the issue |
fb3a586
to
f9481bb
Compare
@ryanflorence @timdorr @pshrmn any chance on an update on this or #4704? Is there any point in me fixing the conflicts here or is this fix not wanted? I would hope that the unit test I have included, along with the codepen, illustrate what the issue is, but if you want more information please ask. |
Superceded by #5964 |
I agree. Can you do a new PR? It'll be cleaner that way. Thanks! |
sure |
NavLink
- as per withRouter wrapped component only renders when NavLink is active #5141 and https://codepen.io/penx/pen/jmeEXzNavLink
should render child components that are wrapped bywithRouter