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.
I had written a RouteContainer component to render Fragments when given a an array of objects containing a route property and either a component or a another nested routes array.
I realise this undoes one of the ideas of react-little-router that you can pass props into your components, but when you have a tree of connected components this just saves a lot of boiler plate.
However strangely this doesn't work. Clicking links throughout my application the sub states are not correctly rendered. If I hard refresh the page everything displays correctly for the route specified.
Any reason why this wouldn't work? Any suggestions for debugging this?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I had written a
RouteContainer
component to render Fragments when given a an array of objects containing aroute
property and either acomponent
or a another nestedroutes
array.Implemented like so:
I realise this undoes one of the ideas of react-little-router that you can pass props into your components, but when you have a tree of connected components this just saves a lot of boiler plate.
However strangely this doesn't work. Clicking links throughout my application the sub states are not correctly rendered. If I hard refresh the page everything displays correctly for the route specified.
Any reason why this wouldn't work? Any suggestions for debugging this?
The text was updated successfully, but these errors were encountered: