Tim Dorr
Tim Dorr
BTW, you can open that in your browser with Codesandbox: https://codesandbox.io/s/github/openscript/react-router-nested-routes-bug
This is now superseded by #9546
Just use a pathless `Route` (with `Outlet` inside of `AuthProvider`): ```js const router = createBrowserRouter( createRoutesFromElements( {/* More Routes here... */} ) ) ```
There is a suggestion elsewhere this may be caused by not having React imported: https://github.com/yarnpkg/berry/issues/227#issuecomment-500300375 I'm not able to get this to fail [in the TS playground](https://www.typescriptlang.org/play?target=99&isolatedModules=false&ts=4.8.4#code/LAKAlgtgDg9gTgFwAQCUCmBDAxsgZnGCJAcjkx2NElkSQG8ksyME0AhAgdwGc04UYAV1ZwkAXyT5CJZjgC0BYXzkATQpRChcggHY4wMHUgCCUKAAoAlPSRkEguEZ2CANi-GhQWQ92SKRSAC8jMysHDA8fAJKcOYA2qBI9IlJSFAsABYAXCQA9MQANClJaC5oEGg6CDkAPKZQSLkAfEUgSWKtALqWniBoAB40yCpouBiufkIiQA), so I think...
We don't have any Ember-inspired features in this library.
Those are all very old links from when we were still pre-1.0. The router has been through at least 3 major rewrites with entirely new APIs and systems. The Outlet...
A note has been added in #8436
TIL JSX elements can have generics! This sounds like a decent idea. If you want to submit a PR, we can take a look at including it.
Related to #8278