{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/04c228b06bb34b97894e345b46cf0abe\" frameborder=\"0\" width=\"1280\" height=\"960\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":960,"width":1280,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":960,"thumbnail_width":1280,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/04c228b06bb34b97894e345b46cf0abe-00001.gif","duration":101.13333333333331,"title":"The Importance of Evaluation Errors in Widget Props 👀","description":"Hey there! In this Loom, I want to talk about why I believe it's crucial to have evaluation errors as part of widget props. Let me give you an example: I have a chart widget, and I accidentally make a syntax error in the data by removing a comma. Now, I know that I'll see a validation error, but what I want to do is capture that error and display a placeholder error message instead of passing it to the props. This is helpful because the user knows what's really going on in the widget and can take corrective action. If we were to just pass default values, we wouldn't see the error in the actual data, and when the user reselects the property pane, they won't see where the validation error is. This can really hamper a widget's functionality. So, I hope this helps you understand why I think evaluation errors are so important in widget props!"}