In the previous recipe, we learned how to render a React Native app as part of a larger native iOS app. Unless you're building a glorified app container or portal, you'll likely need to communicate between the native layer and the React Native layer. This will be the subject matter of the next two recipes, one recipe for each direction of communication.
In this recipe, we will cover communicating from the native layer to the React Native layer, sending data from the parent iOS app to our embedded React Native app, by using a UITextField in the iOS app that sends its data to the React Native app.