You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be seen on the React Live demo site if you scroll to the last example and delete the contents of the render call.
You get "An unexpected error has occurred." printed to the screen and there's no going back. You have to refresh the page to remedy this error.
It would be better if React live gracefully caught this error and printed it to LiveError in the same way that it does when the code is set to an empty string in "normal/inline" mode.
The text was updated successfully, but these errors were encountered:
When
noInline
mode is enabled and you callrender
with no arguments, React throws the error: https://reactjs.org/docs/error-decoder.html/?invariant=152&args[]=nThis can be seen on the React Live demo site if you scroll to the last example and delete the contents of the
render
call.You get "An unexpected error has occurred." printed to the screen and there's no going back. You have to refresh the page to remedy this error.
It would be better if React live gracefully caught this error and printed it to
LiveError
in the same way that it does when the code is set to an empty string in "normal/inline" mode.The text was updated successfully, but these errors were encountered: