You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
There currently is no way to show the first /foo/bar Fragment and the nested /foo/bar Fragment at the same time. We ended up using a hacky solution of looking at the router state in connect in order to determine what page we're on, and then using this to conditionally show the appropriate UI for that route in the equivalent of the first /foo/bar Fragment in our code. It would be nice to have some kind of wildcard match sort of like /foo/:childRoute that would be able to be matched simulataneously with /foo/bar, but I'm not sure if such a thing exists based on the documentation.
The text was updated successfully, but these errors were encountered:
That should work, I think. All else failing, of course, there's withConditions, which I've used as an escape hatch a couple times for odd routing needs.
Interested...I was able to get that to work in codesandbox
You may have just solved our problem and eliminated this chunk of tech debt for us :-) Will try this at work soon and close this issue if it works. Thank you!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There currently is no way to show the first /foo/bar Fragment and the nested /foo/bar Fragment at the same time. We ended up using a hacky solution of looking at the router state in connect in order to determine what page we're on, and then using this to conditionally show the appropriate UI for that route in the equivalent of the first /foo/bar Fragment in our code. It would be nice to have some kind of wildcard match sort of like /foo/:childRoute that would be able to be matched simulataneously with /foo/bar, but I'm not sure if such a thing exists based on the documentation.
The text was updated successfully, but these errors were encountered: