Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Will the ErrorBoundary component handle the error in the code below?
No, because error boundary component can handle only issues of children components wrapped with this error boundary component
It will work as if the whole SimpleComponent was wrapped inside of ErrorBoundary
Error that happens in the js does not affect rendering of SimpleComponent. ErrorBoundary is not needed here
Yes, it will handle the jsx inside of it
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!