<commit_before>﻿import nj from '../../src/base.js';
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider, Router, Route, Redirect, Link } from 'react-redux';
import { hashHistory } from 'react-router';
import store from './store/configureStore';
import App from './containers/App';

nj.setComponentEngine('react', React, ReactDOM);
nj.registerComponent({
  Provider,
  Router,
  Route,
  Redirect,
  Link
});

//Set default data for first render NornJ html template.
nj.setInitTagData({
  store,
  hashHistory,
  App
});<commit_msg>Update index.js<commit_after>﻿import nj from '../../src/base.js';
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { Router, Route, Redirect, Link, hashHistory } from 'react-router';
import store from './store/configureStore';
import App from './containers/App';

nj.setComponentEngine('react', React, ReactDOM);
nj.registerComponent({
  Provider,
  Router,
  Route,
  Redirect,
  Link
});

//Set default data for first render NornJ html template.
nj.setInitTagData({
  store,
  hashHistory,
  App
});
{'fraction_non_alphanumeric': 0.14221824686940965, 'fraction_numerical': 0.0, 'mean_word_length': 4.512315270935961, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1781885', 'n_tokens_mistral': 356, 'n_tokens_neox': 345, 'n_words': 109}