Skip to content

Recursive Path example throws an error. #7272

@vicary

Description

@vicary

Version

Latest? The version bundled in https://reacttraining.com/react-router/native/example/recursive-paths as of the time of writing.

Test Case

https://codesandbox.io/s/react-router-recursive-paths-h74vx

The sandbox directly embedded in the official website.

Steps to reproduce

Just open it.

Expected Behavior

Not throw.

Actual Behavior

Array.find() doesn't like that your path param id is a string, while having the actual data in number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions