Routing and Navigation in React Native
James Ide
1807

Hi, awesome article, I’m using ExNavigator on a new app I’m working on. I need to place a container around my scene component depending on whether the user is logged in or not, I found a callback in the ExNavigator.js file, called augmentScene, which seems like it’d be a good place to put that functionality. May I please ask, how best I can do that? say, a simple example, I just want to return the scene inside a new outer <View> component? Thanks.

Show your support

Clapping shows how much you appreciated Jabulani Mpofu’s story.