Closed andreiborza closed 3 weeks ago
The ErrorBoundary fallback component renders twice when using solid router and navigating to a route that has an ErrorBoundary with an error.
https://codesandbox.io/p/devbox/nameless-forest-45lzdm?file=%2Fsrc%2Findex.tsx%3A11%2C35
Go to error
Error should only be logged out once but is logged out twice.
https://github.com/solidjs/solid-router/assets/168741329/d40bd7a8-fed9-4fce-abdd-4a64dc8645ef
Possibly related to: https://github.com/solidjs/solid/issues/1586
Looks like issue is also closed by https://github.com/solidjs/solid-router/pull/442. I will have a release out shortly.
Can confirm, it's fixed!
Describe the bug
The ErrorBoundary fallback component renders twice when using solid router and navigating to a route that has an ErrorBoundary with an error.
Your Example Website or App
https://codesandbox.io/p/devbox/nameless-forest-45lzdm?file=%2Fsrc%2Findex.tsx%3A11%2C35
Steps to Reproduce the Bug or Issue
Go to error
linkExpected behavior
Error should only be logged out once but is logged out twice.
Screenshots or Videos
https://github.com/solidjs/solid-router/assets/168741329/d40bd7a8-fed9-4fce-abdd-4a64dc8645ef
Platform
Additional context
Possibly related to: https://github.com/solidjs/solid/issues/1586