mirror of https://github.com/status-im/reagent.git
ReactDOMServer doesn't seem to exist anywhere
So, don't look for it.
This commit is contained in:
parent
54ecf706d5
commit
73ba98bc93
|
@ -5,9 +5,7 @@
|
|||
[reagent.interop :refer-macros [.' .!]]))
|
||||
|
||||
;; TODO: Where the hell is ReactDOMServer?
|
||||
(defonce react-dom-server (or (and (exists? js/ReactDOMServer)
|
||||
js/ReactDOMServer)
|
||||
(and (exists? js/require)
|
||||
(defonce react-dom-server (or (and (exists? js/require)
|
||||
(js/require "react-dom/server"))
|
||||
util/react))
|
||||
(assert react-dom-server)
|
||||
|
|
Loading…
Reference in New Issue