Last active
March 10, 2019 18:47
-
-
Save libersolis-dev/3d4e7758c25d8d9c87c18c6abf070bf2 to your computer and use it in GitHub Desktop.
App.js
This file contains 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 characters
import timeoutfix from './src/time-out-fix-util'; | |
console.disableYellowBox = true; | |
class App extends Component { | |
async componentWillMount() { | |
timeoutfix(); | |
} | |
// in your render method return what you normall would just make sure | |
// timeoutfix() is called in async componentWillMount() | |
render() { | |
...//return whatever jsx you are currently returning | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment