Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Expose element stack traces to components #81

Closed
LPGhatguy opened this issue May 7, 2018 · 0 comments
Closed

Expose element stack traces to components #81

LPGhatguy opened this issue May 7, 2018 · 0 comments
Labels
feature: planned A feature that's been accepted into the project's roadmap.

Comments

@LPGhatguy
Copy link
Contributor

Components that need to do custom validation work similar to the upcoming prop types system will want to show a stack trace to the element that introduced any bad data.

This is currently accessible via self._handle._element.source or something like that, but I'd like to expose a method or property that yields that stack trace if element tracing is enabled.

@LPGhatguy LPGhatguy added the feature: planned A feature that's been accepted into the project's roadmap. label May 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature: planned A feature that's been accepted into the project's roadmap.
Projects
None yet
Development

No branches or pull requests

1 participant