 (def tag-name-cache #js{})
 
 (defn cached-parse [x]
-  (if-let [s (obj-get tag-name-cache (name x))]
+  (if-some [s (obj-get tag-name-cache (name x))]
     s
     (aset tag-name-cache (name x) (parse-tag x))))
 

    (aget o k)))

(defn cached-prop-name [k]
  (if-not (named? k)
    k
    (if-let [k' (obj-get prop-name-cache (name k))]
      k'
      (aset prop-name-cache (name k)
            (util/dash-to-camel k)))))

(defn convert-prop-value [x]
  (cond (or (string? x) (number? x) (fn? x)) x

      (symbol? x)))

(defn hiccup-tag? [x]
  (or (named? x)
      (string? x)))

(defn valid-tag? [x]
