0

I am working with a project using react router version 15.4 and react router version 2. I need to implement recursive paths using react router version 2 which would look exactly like the example here. https://reacttraining.com/react-router/web/example/recursive-paths I cannot migrate to react router 4 at the moment. Is it possible to implement the same functionality in version 2?

1 Answer 1

1

Unfortunately, no. v2/3 rely on a static, top-level route configuration.

Recursive routes are only possible in 4.0 because of the dynamic nature of React's component tree.

Sign up to request clarification or add additional context in comments.

1 Comment

That was helpful. Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.