React property _reactInternalInstance was removed in React 0.13

This commit is contained in:
Juho Teperi 2017-10-12 16:12:31 +03:00
parent df3443ba5f
commit 3f4a421f14
1 changed files with 1 additions and 2 deletions

View File

@ -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)