You’re right!
If you wanted to reuse the <Loading />
component elsewhere, you wouldn’t be able to do so with this example because it is coupled. Not sure I would put it in App.js
since that is just exporting a SwitchNavigator.
Maybe AuthLoading
would have been a better name for this component.