<commit_before>import React from 'react';
import { AsyncStorage } from 'react-native';
import { createStore, combineReducers, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import { Provider } from 'react-redux';
import { persistStore, autoRehydrate } from 'redux-persist';
import { composeWithDevTools } from 'redux-devtools-extension';

import AppContainer from 'containers/app';
import * as reducers from 'redux-modules';

import { StackNavigator } from 'react-navigation';
import { Routes, RoutesConfig } from 'routes';

export const AppNavigator = StackNavigator(Routes, RoutesConfig);

const reducer = combineReducers(reducers);
const store = createStore(
  reducer,
  undefined,
  composeWithDevTools(
    applyMiddleware(thunk),
    autoRehydrate()
  )
);

// Disable ios warnings
// console.disableYellowBox = true;

const persistConfig = {
  storage: AsyncStorage,
  blacklist: ['navigation']
};

export default class App extends React.Component {
  state = {
    rehydrated: false
  }<commit_msg>Show network requests<commit_after>import React from 'react';
import { AsyncStorage } from 'react-native';
import { createStore, combineReducers, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import { Provider } from 'react-redux';
import { persistStore, autoRehydrate } from 'redux-persist';
import { composeWithDevTools } from 'redux-devtools-extension';

import AppContainer from 'containers/app';
import * as reducers from 'redux-modules';

import { StackNavigator } from 'react-navigation';
import { Routes, RoutesConfig } from 'routes';

export const AppNavigator = StackNavigator(Routes, RoutesConfig);

const reducer = combineReducers(reducers);
const store = createStore(
  reducer,
  undefined,
  composeWithDevTools(
    applyMiddleware(thunk),
    autoRehydrate()
  )
);

// Disable ios warnings
// console.disableYellowBox = true;

// Show request in chrome network tool
GLOBAL.XMLHttpRequest = GLOBAL.originalXMLHttpRequest || GLOBAL.XMLHttpRequest;

const persistConfig = {
  storage: AsyncStorage,
  blacklist: ['navigation']
};

export default class App extends React.Component {
  state = {
    rehydrated: false
  }
{'fraction_non_alphanumeric': 0.10514233241505969, 'fraction_numerical': 0.0, 'mean_word_length': 5.243553008595988, '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': '2788533', 'n_tokens_mistral': 661, 'n_tokens_neox': 651, 'n_words': 181}