getDefaultStaticPropSource can throw uncaught OutOfRangeException

Created on 30 July 2025, 9 days ago

Overview

OutOfRangeException: 'title' is not a prop on the component 'Code component: Antarctica'.

This happened because a component tree had an invalid prop name, due to the code component being modified via the CLI and prop name changed. It breaks the editor and rendering of the page.

This can be tested using any component tree with a typo in the prop name.

Proposed resolution

Do not allow it to be uncaught.

User interface changes

🐛 Bug report
Status

Active

Version

1.0

Component

… to be triaged

Created by

🇺🇸United States mglaman WI, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024