Book Image

React Native Cookbook

By : Crysfel Villa, Stan Bershadskiy
Book Image

React Native Cookbook

By: Crysfel Villa, Stan Bershadskiy

Overview of this book

<p>React has taken the web development world by storm, and it is only natural that the unique architecture and its ecosystem of third-party support be applied to native application development. This book will take you through the basics of React Native development all the way through to some more advanced components.</p> <p>This book covers topics in React Native ranging from adding basic UI components to successfully deploying for multiple target platforms. The book follows a top-down approach beginning with building rich user interfaces. These UIs will be created with both built-in and custom components that you will create, style, and animate.</p> <p>You will then learn about different strategies for working with data, including leveraging the popular Redux library and optimizing the performance of the application. Then, you will step further into exposing native device functionality. Finally, we will discuss how to put your application into production and maintain its reliability.</p>
Table of Contents (19 chapters)
React Native Cookbook
Credits
Foreword
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Building for the Universal Windows Platform


At Facebook's F8 conference that happened on April 13th 2016, Microsoft announced its core support of React Native. Microsoft added React Native support to Visual Studio Code, became a core contributor to React Native itself and most importantly added support for targeting the Universal Windows Platform. The Universal Windows Platform (UWP), is a runtime that exists on all Windows 10 based devices and even the Xbox One. With React Native's third-party Windows support, we can now target a substantially larger user-base and make our apps even more accessible.

In this recipe we will cover building a React Native for Windows application. We will cover environment setup, building our first app, and running it on an emulator.

Getting ready

To get started with React Native for Windows there's a good bit of leg work that needs to be done. First and foremost, you need to be running Windows 10. If you are running Mac OS X, you can either install it via BootCamp...