Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
div
LocationProvider
<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.
The text was updated successfully, but these errors were encountered:
Possibly related to preactjs/preact#2747 (comment)
This component tree is crashing my page when I navigate between routes:
Putting a
div
as the direct child ofLocationProvider
fixes it:It doesn't have to be a dom element, this also fixes it:
If there's any additional information needed please let me know.
The text was updated successfully, but these errors were encountered: