Often, when building a React Native app, you will need to work with native Android and iOS code. You may have built these native modules to expose some extra functionality provided by a native API, or perhaps your app needed to perform an intensive background task.
As was touched on earlier, working in the native layer really allows you to make use of a device's full capacity. However, it doesn't mean that the code we write will automatically be the fastest it could be. There's always room to optimize and achieve performance gains.
In this recipe, we will provide some tips on how to make your Objective-C code run a bit faster using the iOS SDKs. We will also consider how React Native and the React Native bridge, which is used to communicate between the JavaScript and the native layers, fit into the bigger picture...