<commit_before>import React from "react"
import ReactDOM from 'react-dom';
import PropTypes from "prop-types";

const ReactModule = props => (
  <div>
    <h2>{props.greeting} world!</h2>
    <p>
      I'm a React component. Pura comes with <strong>React</strong> and <strong>ReactDOM</strong> installed by default.
    </p>
    <p>
      However, if you don't need it that's okay, too! Just don't <code>import</code> it into your modules and you'll save on precious KB.
    </p>
  </div>
);

// Set default props for unset variables
ReactModule.defaultProps = {
  greeting: "Hi"
};

// Establish types for props to prevent renderering errors
ReactModule.propTypes = {
  greeting: PropTypes.string
};

ReactDOM.render(<ReactModule greeting="Hello" />, $("[data-react-module]")[0]);<commit_msg>Test prettier on pre-commit<commit_after>import React from "react"
import ReactDOM from 'react-dom';
import PropTypes from 'prop-types';

const ReactModule = props => (
  <div>
    <h2>{props.greeting} world!</h2>
    <p>
      I'm a React component. Pura comes with <strong>React</strong> and <strong>ReactDOM</strong> installed by default.
    </p>
    <p>
      However, if you don't need it that's okay, too! Just don't <code>import</code> it into your modules and you'll save on precious KB.
    </p>
  </div>
);

// Set default props for unset variables
ReactModule.defaultProps = {
  greeting: "Hi"
};

// Establish types for props to prevent renderering errors
ReactModule.propTypes = {
  greeting: PropTypes.string
};

ReactDOM.render(<ReactModule greeting="Hello" />, $("[data-react-module]")[0]);
{'fraction_non_alphanumeric': 0.138125, 'fraction_numerical': 0.00375, 'mean_word_length': 3.8960244648318043, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 35, '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': '4318851', 'n_tokens_mistral': 516, 'n_tokens_neox': 527, 'n_words': 164}