Created
May 12, 2020 21:08
-
-
Save putrikarunia/8f73c98a494fe977ac82a27dc4dbc177 to your computer and use it in GitHub Desktop.
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
// App.js | |
// 1️⃣ Import Cotter's Wrapper | |
import {connectCotterWrapper} from 'react-native-cotter'; | |
function App() {...} | |
// 1️⃣ At the bottom: Wrap your root component with Cotter's wrapper | |
export default connectCotterWrapper(App); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment