Use React.findDOMNode to log element references
kloots opened this issue · 3 comments
kloots commented
When there's an error, we currently use document.getElementById to log element element references. Since the code is executed in a componentDidMount/componentDidUpdate callback, we could use React.findDOMNode() instead.
alexlande commented
dmitrif commented
Hi, guys!
Has there been any changes in regards to this?
Thanks.
erin-doyle commented
I believe as of v1.0.0 we are no longer using document.getElementById for anything. I'm going to go ahead and close this but please let me know if you disagree.