              from a tag name."}
   re-tag #"([^\s\.#]+)(?:#([^\s\.#]+))?(?:\.([^\s#]+))?")
 
-(deftype NativeWrapper [comp])
+(deftype NativeWrapper [])
 
 
 ;;; Common utilities

                  (assoc v 0 (subs n (inc pos)))])))

      (instance? NativeWrapper tag)
      (native-element (.-comp tag) v 1)

      :else (reag-element tag v))))


    (.' js/React createElement c jsprops)))

(defn adapt-react-class [c]
  (doto (NativeWrapper.)
    (.! :name c)
    (.! :id nil)
    (.! :class nil)))

(def tag-name-cache #js{})

