<commit_before>import React, {Component} from 'react';

class Recipes extends Component {
  render() {
    return (
      <div>
        <h1>Mom's cookbook directory</h1>
      </div>
    );
  }
}
export default Recipes;<commit_msg>react components connect, added api call work in progress<commit_after>import React, {Component} from 'react';

class Recipes extends Component {
  componentDidMount() {
    $.ajax({
      url: 'http://api.yummly.com/v1/api/recipe/Avocado-cream-pasta-sauce-recipe-306039?_app_id=448f67d9&_app_key=c21a694ca9204f51fa82d8ade53c791b',
      data: data,
      success: function() {this.setstate,
      dataType: dataType
    });
  }
  render() {
    return (
      <div>
        <h1>Mom's cookbook directory</h1>
      </div>
    );
  }
}
export default Recipes;
{'fraction_non_alphanumeric': 0.13054499366286437, 'fraction_numerical': 0.045627376425855515, 'mean_word_length': 3.1145833333333335, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5595421', 'n_tokens_mistral': 299, 'n_tokens_neox': 276, 'n_words': 56}