Open kosich opened 3 years ago
Since autorun API lets users run code in synchronous manner, it might make sense to allow handling errors right inside the expression:
computed(() => { try { return $(a); } catch(e) { return e + $(b); } });
(I've shared this suggestion somewhere, created this issue to discuss further)
Since autorun API lets users run code in synchronous manner, it might make sense to allow handling errors right inside the expression:
(I've shared this suggestion somewhere, created this issue to discuss further)