-
-
Couldn't load subscription status.
- Fork 1.3k
Closed
Description
Describe the bug
I am not sure the errorElement is working as it should, or whether I am misunderstanding it.
See this fork of the basic example: https://codesandbox.io/s/stupefied-mountain-6shsph?file=/src/index.tsx
I would expect the <h1>error</h1> to be rendered for the root page, yet I see the normal element. Is this a bug?
Cheers
Your Example Website or App
https://codesandbox.io/s/stupefied-mountain-6shsph?file=/src/index.tsx
Steps to Reproduce the Bug or Issue
- Click on home
- See "Welcome Home!"
Expected behavior
- Click on home
- See
<div><h1>error</h1></div>
Screenshots or Videos
No response
Platform
- OS: macOS 12.3
- Browser: Safari 15.4
- Version: 3.7.4
Additional context
No response
badsyntax, luizeboli, chrisneven and PikaYuhnoEminQasimov and chrisneven
Metadata
Metadata
Assignees
Labels
No labels