diff --git a/src/reagent/impl/component.cljs b/src/reagent/impl/component.cljs index 6d891fb..e92c211 100644 --- a/src/reagent/impl/component.cljs +++ b/src/reagent/impl/component.cljs @@ -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)