roact icon indicating copy to clipboard operation
roact copied to clipboard

validateProps error messages should include element stack traces, if available

Open AmaranthineCodices opened this issue 6 years ago • 0 comments

Right now, debugging errors thrown by validateProps is difficult, because you get a stack trace that's completely unrelated to the source of the invalid props (the caller of createElement). It would be really helpful if these error messages provided the element traceback, if available.

AmaranthineCodices avatar Sep 19 '19 18:09 AmaranthineCodices