Open

Description
This component tree is crashing my page when I navigate between routes:
<LocationProvider>
<ErrorBoundary>
<div>
<Router>
<Home path='/' default />
<About path='/about' />
</Router>
</div>
</ErrorBoundary>
</LocationProvider>
Putting a div
as the direct child of LocationProvider
fixes it:
<LocationProvider>
<div>
<ErrorBoundary>
<Router>
<Home path='/' default />
<About path='/about' />
</Router>
</ErrorBoundary>
</div>
</LocationProvider>
It doesn't have to be a dom element, this also fixes it:
<LocationProvider>
<SWRConfig value={SWRConfiguration}>
<ErrorBoundary>
<Router>
<Home path='/' default />
<About path='/about' />
</Router>
</ErrorBoundary>
</SWRConfig>
</LocationProvider>
If there's any additional information needed please let me know.