Can anyone elaborate a bit more on these two items from compose roadmap? What are the ideas for exception handling and what is composition tracing?
s
shikasd
07/30/2022, 12:32 AM
Exception handling is exploration of handling/reporting errors thrown in Composable functions. Currently exceptions just crash the app, but they could be potentially recovered from.
Composition tracing adds Composable functions to perfetto traces IIRC, helpful for profiling/debugging
shikasd
07/30/2022, 12:40 AM
I don't think there are any particular ideas for error handling we have settled on atm, but the baseline functionality is to avoid crashes and provide some form of recovery/retry mechanism
Any ideas / suggestions are always welcome!
a
andrew
07/30/2022, 4:38 AM
I know react has error boundaries for error handling, at least it keeps things scoped