<commit_before>(ns reagent.dom.server
  (:require [cljsjs.react.dom]
            [reagent.impl.util :as util]
            [reagent.impl.template :as tmpl]
            [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)
                                   (js/require "react-dom/server"))
                              util/react))<commit_msg>ReactDOMServer doesn't seem to exist anywhere<commit_after>(ns reagent.dom.server
  (:require [cljsjs.react.dom]
            [reagent.impl.util :as util]
            [reagent.impl.template :as tmpl]
            [reagent.interop :refer-macros [.' .!]]))

;; TODO: Where the hell is ReactDOMServer?
(defonce react-dom-server (or (and (exists? js/require)
                                   (js/require "react-dom/server"))
                              util/react))
{'fraction_non_alphanumeric': 0.12462908011869436, 'fraction_numerical': 0.0, 'mean_word_length': 1.6561679790026247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4863886', 'n_tokens_mistral': 294, 'n_tokens_neox': 290, 'n_words': 62}