Skip to content

Commit d673d0a

Browse files
More thoughts
1 parent cb07e7c commit d673d0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Components/Samples/BlazorServerApp/Pages/ErrorMaker.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@
8080
// (via the "cascading a custom ErrorBoundary-type component" technique), so are outside the scope of this work. We retain
8181
// the option of making component initialization errors recoverable in the future, as I think it's fair to say that would
8282
// not be a breaking change, as we'd be replacing a previously-fatal error with a nonfatal one.
83+
// - Actually we don't need to handle it for these anyway, because in these cases the exception will just bubble
84+
// up to the SetParametersAsync on the parent, and become a handleable error at that level.
8385
8486
// After a lot of consideration, I don't think we should allow exceptions during Dispose/DisposeAsync to be recoverable.
8587
// We could do so, since components are only disposed once they are removed from their parents, so even if their disposal

0 commit comments

Comments
 (0)