SUI-Components/sui

[SUI-ROUTER] When a regex doesn't match, all the routes below doesn't work even though the path matches

devictoribero opened this issue · 0 comments

Package

[@s-ui/react-router]@[1.3.0]

Description

The routes below the one that uses the regexp feature, don't work.

Steps to Reproduce

  1. Add a (make sure there are other routes below this one)
  2. Navigate to one of those routes

Expected behavior: The route that has a path that matches the current URL, should be rendered no matter the order of the <Route>

Actual behavior: The routes that are below the <Route> that uses the regexp feature, don't work

Reproduces how often: (only for bugs) always