Return NaN
and warn instead of throwing if measure
fails
#3452
naftalibeder
started this conversation in
Ideas
Replies: 1 comment
-
I opened a PR here: #3453 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Right now, calling
measure
on a ref whose view does not exist throws an error, which needs to be caught by the caller.Would there be any interest in tweaking it to send a
console.warn
and return{ x: NaN, ... }
instead? In my experience so far, it feels a bit over-sensitive.Beta Was this translation helpful? Give feedback.
All reactions