I'm just getting started with react native and have created a base app with create-react-native-app
.
I did some restructuring and made a few new folders and renamed the App.js to Home.js. I modified the app.json
to contain an entry point that references the new Home.js
file. When I load the app, nothing happens. There's no error, it just stays on the expo screen.
.
-components
-screens
-Home
Home.js
-config
-node_modules
-tests
app.json
app.json file:
{
"expo": {
"sdkVersion" : "23.0.0",
"entryPoint" : "./screens/Home/Home.js"
}
}
How do you define the entry point of the app?