Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Events
Videos
Audiobooks
Packt Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
React and React Native

You're reading from   React and React Native Build cross-platform JavaScript and TypeScript apps for web and mobile

Arrow left icon
Product type Paperback
Published in Apr 2026
Publisher Packt
ISBN-13 9781837020294
Length 578 pages
Edition 6th Edition
Languages
Tools
Arrow right icon
Authors (3):
Arrow left icon
Mikhail Sakhniuk Mikhail Sakhniuk
Author Profile Icon Mikhail Sakhniuk
Mikhail Sakhniuk
Rodrigo Lobenwein Rodrigo Lobenwein
Author Profile Icon Rodrigo Lobenwein
Rodrigo Lobenwein
Adam Boduch Adam Boduch
Author Profile Icon Adam Boduch
Adam Boduch
Arrow right icon
View More author details
Toc

Table of Contents (35) Chapters Close

Preface 1. Part 1: React
2. Chapter 1: Why React? FREE CHAPTER 3. Chapter 2: Rendering with JSX 4. Chapter 3: Understanding React Components and Hooks 5. Chapter 4: Event Handling in the React Way 6. Chapter 5: Crafting Reusable Components 7. Chapter 6: Type-Checking and Validation with TypeScript 8. Chapter 7: Handling Navigation with Routes 9. Chapter 8: Code Splitting Using Lazy Components and Suspense 10. Chapter 9: User Interface Framework Components 11. Chapter 10: High-Performance State Updates 12. Chapter 11: Fetching Data from a Server 13. Chapter 12: State Management in React 14. Chapter 13: Server-Side Rendering 15. Chapter 14: Unit Testing in React 16. Part 2: React Native
17. Chapter 15: Why React Native? 18. Chapter 16: React Native Under the Hood 19. Chapter 17: Kick-Starting React Native Projects 20. Chapter 18: Building Responsive Layouts with Flexbox 21. Chapter 19: Navigating Between Screens 22. Chapter 20: Rendering Item Lists 23. Chapter 21: Geolocation and Maps 24. Chapter 22: Collecting User Input 25. Chapter 23: Responding to User Gestures 26. Chapter 24: Showing Progress 27. Chapter 25: Displaying Modal Screens 28. Chapter 26: Using Animations 29. Chapter 27: Controlling Image Display 30. Chapter 28: Going Offline 31. Chapter 29: AI as a Learning Partner 32. Chapter 30: Unlock Your Exclusive Benefits 33. Other Books You May Enjoy
34. Index

Summary

In this chapter, you learned how to kick-start a React Native project using the Expo command-line tool. First, you learned how to install the Expo tool. Then, you learned how to initialize a new React Native project. Next, you started the Expo development server and learned about the various parts of the development server UI.

In particular, you learned how to connect the development server with the Expo app on any device that you want to test your app on. Expo also has the Snack service, which lets us experiment with snippets of code. You learned how to create a snack and run it on virtual iOS and Android devices.

The project setup and development workflow you learned here form the foundation for every React Native chapter that follows—each upcoming example builds on this same Expo-based environment.

In the next chapter, we'll look at how to build responsive layouts in our React Native apps.

Get this book's PDF version and more

Scan the QR code (or go to packtpub...

lock icon The rest of the chapter is locked
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
React and React Native
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon