Mastering React Native
eBook - ePub

Mastering React Native

Eric Masiello, Jacob Friedmann

Share book
  1. 496 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Mastering React Native

Eric Masiello, Jacob Friedmann

Book details
Book preview
Table of contents
Citations

About This Book

Leverage frontend development skills to build impressive iOS and Android applications with React Native

About This Book

  • Apply flexbox to get layout and build rich animations that bring your React Native application to life
  • Integrate third-party libraries and develop customized components that run natively on iOS and Android platforms
  • Combine React Native with Redux, Redux middleware, and a remote API to build scalable data-driven applications

Who This Book Is For

This book is for anyone who wants to build cross-platform native mobile applications using only JavaScript and the React Native framework. In particular, this book is especially useful for front-end developers who want to use their current skillset to build mobile applications. An existing working knowledge of JavaScript will help you get the most out of this book.

What You Will Learn

  • Implement native React Native components and APIs
  • Explore React's JSX syntax
  • Manage data using Redux and Redux middleware
  • Build applications with React Native on both iOS and Android platforms
  • Perform animations in your applications using the animation APIs
  • Understand routing and Navigator comparison
  • Create your own Native module

In Detail

React Native has completely revolutionized mobile development by empowering JavaScript developers to build world-class mobile apps that run natively on mobile platforms. This book will show you how to apply JavaScript and other front-end skills to build cross-platform React Native applications for iOS and Android using a single codebase.

This book will provide you with all the React Native building blocks necessary to become an expert. We'll give you a brief explanation of the numerous native components and APIs that come bundled with React Native including Images, Views, ListViews, WebViews, and much more. You will learn to utilize form inputs in React Native. You'll get an overview of Facebook's Flux data architecture and then apply Redux to manage data with a remote API. You will also learn to animate different parts of your application, as well as routing using React Native's navigation APIs.

By the end of the book, you will be able to build cutting-edge applications using the React Native framework.

Style and approach

This comprehensive guide will take your React Native skills to the next level. It shows you how to develop a clear workflow to build scalable applications, and how to implement the architectural concepts covered to build applications that shine in the real world.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Mastering React Native an online PDF/ePUB?
Yes, you can access Mastering React Native by Eric Masiello, Jacob Friedmann in PDF and/or ePUB format, as well as other popular books in Computer Science & Web Programming. We have over one million books available in our catalogue for you to explore.

Information

Year
2017
ISBN
9781785885785
Edition
1

Mastering React Native


Mastering React Native

Copyright Ā© 2017 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author(s), nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: January 2017
Production reference: 1060117
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.
ISBN 978-1-78588-578-5
www.packtpub.com

Credits

Authors
Eric Masiello
Jacob Friedmann
Copy Editor
Safis Editing
Reviewer
Patrick Puritscher
Project Coordinator
Sheejal Shah
Commissioning Editor
Wilson Dsouza
Proofreader
Safis Editing
Acquisition Editor
Denim Pinto
Indexer
Rekha Nair
Content Development Editor
Divij Kotian
Graphics
Abhinash Sahu
Technical Editor
Rutuja Vaze
Production Coordinator
Aparna Bhagat

Disclaimer

We are using the New York Times' API for illustrative purposes only. We do not recommend you publish your application to the app store using this API without first reading the Terms of Use (https://developer.nytimes.com/tou). For more information please consult the NYT's terms and conditions.

About the Authors

Eric Masiello is a lead software engineer for Vistaprint Digital. Formerly, Eric worked as a principal frontend engineer for the Advisory Board Company and built mobile apps for the Education Advisory Board. Eric has worked primarily as a frontend/UI developer for over 10 years and freelances as a website designer/developer at http://www.synbydesign.com. He has taught frontend topics at General Assembly in Washington, D.C. and was a technical reviewer for Mastering ReactJS, a video by Packt Publishing.
You can follow him here:
  • https://www.linkedin.com/in/ericmasiello
  • https://twitter.com/ericmasiello
  • http://synbydesign.com
First and foremost, I must extend an enormous thank you to my beautiful, talented, and always-inspiring wife, Hyun. If not for her support, this book would honestly not exist. My deepest gratitude also goes out to my family: Mom, Dad, Brian, Juliana, Nicolas, Umma, and my sisters Hannah, Min, and Carroll. Iā€™m truly blessed to have such a wonderful and supportive family. Shout out to all the inspiring people Iā€™ve had the honor of working with over the years. Iā€™ve learned so much from all of you. Thanks to Keith, Michael, Andrew, Scott, Shelley, Kelly, the inimitable Karthik, Jesse, Jaworski, Beth, Mat, Anbu, Ashwin, Kevin, Ann, all my PIC/RCS homies, the EAB dev/UI team, the entire ABC/EAB UX team, and finally my new Vistaprint Digital family. Thank you to all my close friends who have balanced me, challenged me, shared a drink, or just a laugh: Bryan, Alan, Chris, Kyril, Brandon, April, and the whole Expansion Broadcast + DC crew. Thank you to everyone at Packt for bringing me along on this amazing (and sleepless) journey. And finally, thanks to my coauthor Jacob for all the work he did in realizing this book and for agreeing to even write a book with someone he had known for all of two weeks.
Jacob Friedmann is a developer living in Seattle, WA. He has been working as a developer professionally for 5 years and is currently a principal software engineer at AddThis, an Oracle company. At AddThis, he works on large front and backend applications. He also builds mobile applications using React Native, including Audicy (http://audicy.io), which will soon be launched on the App Store. He has taught several classes, including frontend web development and JavaScript development through General Assembly in Washington D.C.
You can follow him here:
  • https://www.linkedin.com/in/jacob-friedmann
  • https://twitter.com/JacobDFriedmann
Writing a book (my first!) is hard, and I donā€™t think I would have been able to do it without the support of my loving boyfriend, Matt. He weathered my frequent complaining in stride and kept me focused when I needed it most. For that, I am incredibly grateful. Huge thanks to all of my AddThis family who have always inspired me to keep learning and pushed me to do my best work. To all of my friends and family, who were patient with me when I became a recluse to finish this project, thank you. You are loved, and I promise not to do this again for a while! Finally, to Eric for pulling me along on this adventure. I definitely didnā€™t know what I was getting myself into when I agreed to this, but I canā€™t imagine having a more dedicated and capable partner.

About the Reviewer

Patrick Puritscher began developing websites at the age of 14 by teaching himself the necessary skills. Already using React.js, he started to develop with React Native, shortly after watching the initial presentation. He is also active in the community with his open source components and recently published an app for iOS, completely written with React Native. After graduating with his bachelorā€™s degree, Patrick worked as the lead developer for multiple internally used web apps and a website with several million visits each month. It is his personal ambition to create software for people that makes their life easier, rather than making it more difficult with poor UX. Patrick has just started with his masterā€™s degree in Business Informatics.
You can follow him on:
https://twitter.com/whoispurii
http://patrickpuritscher.com

www.PacktPub.com

For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at [email protected] for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
www.PacktPub.com
https://www.packtpub.com/mapt
Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career.

Why subscribe?

  • Fully searchable across every book published by Packt
  • Copy and paste, print, and bookmark content
  • On demand and accessible via a web browser

Customer Feedback

Thank you for purchasing this Packt book. We take our commitment to improving our content and products to meet your needs seriouslyā€”that's why your feedback is so valuable. Whatever your feelings about your purchase, please consider leaving a review on this book's Amazon page. Not only will this help us, more importantly it will also help others in the community to make an informed decision about the resources that they invest in to learn. You can also review for us on a regular basis by joining our reviewers' club. If you're interested in joining, or would like to learn more about the benefits we offer, please contact us: [email protected].

Preface

React Native is a library for creating mobile applications using familiar web technologies without sacrificing performance or the look and feel typically associated with fully native applications. It is built on top of Facebookā€™s open source JavaScript library, React, and indeed, iOS and Android applications created using the library are primarily written in JavaScript. Because one does not need to ...

Table of contents