Last active
November 20, 2020 15:37
-
-
Save GuilhermeLis/d79c10bb7cd03a9472c66c557eb03271 to your computer and use it in GitHub Desktop.
Revisions
-
Guilherme Lisboa revised this gist
Nov 20, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ declare global { } if ('__DEV__') { const tron = Reactotron.configure({ host: 'put your ip here', port: 9090 }) .useReactNative({ errors: true, editor: true }) .use(reactotronRedux()) .use(reactotronSaga()) -
Guilherme Lisboa created this gist
Nov 20, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ import Reactotron from 'reactotron-react-native'; import { reactotronRedux } from 'reactotron-redux'; import reactotronSaga from 'reactotron-redux-saga'; declare global { interface Console { tron: any; } } if ('__DEV__') { const tron = Reactotron.configure({ host: 'coloque-seu-endereço', port: 9090 }) .useReactNative({ errors: true, editor: true }) .use(reactotronRedux()) .use(reactotronSaga()) .connect(); tron.clear!(); console.tron = tron; }