<commit_before>import React from 'react';
import ReactDOM from 'react-dom';
import ReactDOMServer from 'react-dom/server';
import Homepage from './Homepage.mdx';

import './index.css';

if (typeof document !== 'undefined') {
  ReactDOM.render(
    <Homepage />,
    document.getElementById('root')
  );
}

export default function(locals, callback) {
  const string = ReactDOMServer.renderToString(<Homepage />);
  callback(null, string);
}<commit_msg>🚮 Remove react-dom/server dependency<commit_after>import React from 'react';
import ReactDOM from 'react-dom';
import Homepage from './Homepage.mdx';

import './index.css';

ReactDOM.render(
  <Homepage />,
  document.getElementById('root')
);
{'fraction_non_alphanumeric': 0.14985590778097982, 'fraction_numerical': 0.0, 'mean_word_length': 5.043478260869565, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6088591', 'n_tokens_mistral': 213, 'n_tokens_neox': 211, 'n_words': 54}