mirror of https://github.com/status-im/reagent.git
React property _reactInternalInstance was removed in React 0.13
This commit is contained in:
parent
df3443ba5f
commit
3f4a421f14
|
@ -268,8 +268,7 @@
|
||||||
create-react-class))
|
create-react-class))
|
||||||
|
|
||||||
(defn component-path [c]
|
(defn component-path [c]
|
||||||
(let [elem (some-> (or (some-> c ($ :_reactInternalInstance))
|
(let [elem (some-> c
|
||||||
c)
|
|
||||||
($ :_currentElement))
|
($ :_currentElement))
|
||||||
name (some-> elem
|
name (some-> elem
|
||||||
($ :type)
|
($ :type)
|
||||||
|
|
Loading…
Reference in New Issue