mirror of
https://github.com/status-im/reagent.git
synced 2025-01-29 21:25:56 +00:00
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…
x
Reference in New Issue
Block a user