-
Notifications
You must be signed in to change notification settings - Fork 135
Not sure how to send the transition container to the router #15
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
Comments
@sschenk–did you get this resolved? |
No the following gives me can't match location error:
Edit: So actually above code matches the route but yields a "Warning: Failed prop type: Required prop |
It ended up being an annoying silly mistake with my plain route definitions. I added a component key in my nested child routes and that's why my transition wrapper route wasn't picked at all:
The question should have probably been asked in the react-router repo. since it's really about the router defs. EDIT: Anyway I guess I won't reopen the issue as it's more of a router issue, although an example of plain nested routes with two levels of nested children would be nice. Having plain routes and an app layout is probably a very popular use case. |
@sschenk are you passing anything to the |
The problem is not with your repo. I just can't seem to create the following router structure using the react-redux starter repo:
I've tried making the transition wrapper a simple Regarding the path: I've tried with null and "/" on another vanilla react and (just with react-router-transition dependencies) and there were no animations going back to index route. |
I'm working with dave zuko's react redux starter kit and I'm trying to apply some router transitions. If I understand correctly I should wrap my component with a transitions container and send the wrapped component to my router.
From the demo:
Here's the router index file and a component route index:
component index
The text was updated successfully, but these errors were encountered: