{"size": 505, "ext": "js", "max_stars_repo_path": "src/config/ReactotronConfig.js", "max_stars_repo_name": "adornodev/gostack-redux", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/config/ReactotronConfig.js", "max_issues_repo_name": "adornodev/gostack-redux", "max_issues_repo_issues_event_min_datetime": "2021-09-03T00:35:36.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T00:15:15.000Z", "max_forks_repo_path": "src/config/ReactotronConfig.js", "max_forks_repo_name": "adornodev/gostack-redux", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 29.7058823529, "max_line_length": 67, "alphanum_fraction": 0.7148514851}
import Reactotron from 'reactotron-react-js';
import { reactotronRedux } from 'reactotron-redux';
import reactotronSaga from 'reactotron-redux-saga';

// o create react app insere NODE_ENV em nossa variavel de ambiente
// com o valor development quando rodar yarn start (modo debug)

if (process.env.NODE_ENV === 'development') {
  const tron = Reactotron.configure({ host: '192.168.0.51' })
    .use(reactotronRedux())
    .use(reactotronSaga())
    .connect();

  tron.clear();
  console.tron = tron;
}
