objects are not valid as a react child react-native code example
Example: objects are not valid as a react child
// You can't make App an async function... promises must be resolved other ways
// BAD
const App = async () => {
const auth = await somePromise();
return (
<></>
);
}