Skip to content

ErrorBoundary fallback renders twice #440

@andreiborza

Description

@andreiborza

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

  1. Open console
  2. Click on the Go to error link

Expected behavior

Error should only be logged out once but is logged out twice.

Screenshots or Videos

CleanShot.2024-06-07.at.12.18.46.mp4

Platform

  • OS: macOS
  • Browser: Chrome
  • Version: [e.g. 91.1]

Additional context

Possibly related to: solidjs/solid#1586

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions