O'Reilly logo

React Native Cookbook by Crysfel Villa, Stan Bershadskiy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Optimizing the performance of native iOS module

In building our React Native application, we may have written some native modules. Hopefully, you followed some of the recipes in Chapter 6, Adding Native Functionality. You may have built these native modules to expose some bit of functionality provided by a native API or maybe you wanted to perform an intensive background task.

As we touched on earlier, working in the native layer really lets us use the 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 generate performance gains that may be significant.

In this recipe, we will provide some tips on how to make your Objective-C code run a bit faster ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required