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

Extending UI Components for platform-specific experiences

When developing a React Native application you will spend a significant portion of time creating UI Components. These may be compositions of prebuilt UI Components or native components that you are exposing. Remember that Facebook's goal with React Native is to enable you to build incredible native experiences using JavaScript. iOS and Android have two different design principles that is present in their native UI Components. While we have great flexibility in regards to styling and interaction you may want your application to look and behave like it fits on its target platform.

This recipe will show a technique of how to create a base component and extend it to look and perform in a manner ...

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