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
[Docs]: V6 - Mixing up <Route /> with lists [<Route />, <Route />] within one <Routes /> looks working but isn't mentioned in the docs and covered in unit tests.
#11503
Closed
chi11ed opened this issue
Apr 26, 2024
· 1 comment
chi11ed
changed the title
[Docs]: V6 - Mixing up <Route /> with lists [<Route />, <Route />] within one <Switch /> looks working but isn't mentioned in the docs and covered in unit tests.
[Docs]: V6 - Mixing up <Route /> with lists [<Route />, <Route />] within one <Routes /> looks working but isn't mentioned in the docs and covered in unit tests.
Apr 26, 2024
Describe what's incorrect/missing in the documentation
Hi!
Just noticed that sometimes in the legacy projects entire batches of routes are stored as arrays.
So when migrating from v5 to v6 there can be unclear working situation when one can do something like this:
Despite there is error output regarding missing keys - it seems to be silently working, but
Could you please add some for better clarity around arrays usages? Maybe worth to mention that those are expected to be flattened.
The text was updated successfully, but these errors were encountered: