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))
|
||||
|
||||
(defn component-path [c]
|
||||
(let [elem (some-> (or (some-> c ($ :_reactInternalInstance))
|
||||
c)
|
||||
(let [elem (some-> c
|
||||
($ :_currentElement))
|
||||
name (some-> elem
|
||||
($ :type)
|
||||
|
|
Loading…
Reference in New Issue