Revert "React property _reactInternalInstance was removed in React 0.13"

This reverts commit 3f4a421f14.
This commit is contained in:
Juho Teperi 2017-10-13 11:28:02 +03:00
parent 4bfed50f33
commit 33ee8a89b9
1 changed files with 2 additions and 1 deletions

View File

@ -268,7 +268,8 @@
create-react-class))
(defn component-path [c]
(let [elem (some-> c
(let [elem (some-> (or (some-> c ($ :_reactInternalInstance))
c)
($ :_currentElement))
name (some-> elem
($ :type)