SolidJSS
SolidJSโ€ข3y agoโ€ข
7 replies
Fabian

ErrorBoundary requires string fallback when root is not a fragment

Hi, I'm running into an issue with ErrorBoundary and wanted to make sure that this is not a user error before filing a bug.

When the top-level element is not a fragment, the ErrorBoundary chokes on any fallback value that's not a string:
https://playground.solidjs.com/anonymous/799b7473-b4e8-40ab-840d-c6a19f922241
Quickly discover what the solid compiler will generate from your JSX template
Was this page helpful?