mirror of https://github.com/status-im/reagent.git
Revert "React property _reactInternalInstance was removed in React 0.13"
This reverts commit 3f4a421f14
.
This commit is contained in:
parent
4bfed50f33
commit
33ee8a89b9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue