Skip to content

Instantly share code, notes, and snippets.

@jamonholmgren
Created September 25, 2019 02:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamonholmgren/f6efbb8133661bdb86a068c4f15d75e6 to your computer and use it in GitHub Desktop.
Save jamonholmgren/f6efbb8133661bdb86a068c4f15d75e6 to your computer and use it in GitHub Desktop.
Fast Refresh Issue
// Run `yarn add -D reactotron-react-native` first.
import React from 'react';
import {View, Text} from 'react-native';
import Reactotron from 'reactotron-react-native';
Reactotron.onCustomCommand({
command: 'someCommand',
handler: () => null,
});
const App = () => {
return (
<View style={{paddingTop: 350, paddingLeft: 140}}>
<Text style={{fontSize: 25}}>Hello, World</Text>
</View>
);
};
export default App;
@jamonholmgren
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment