E-book details

React and React Native. Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile - Fifth Edition

React and React Native. Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile - Fifth Edition

Mikhail Sakhniuk, Adam Boduch

Ebook
Welcome to your big-picture guide to the React ecosystem.

If you’re new to React and looking to become a professional React developer, this book is for you. This updated fifth edition reflects the current state of React, including React framework coverage as well as TypeScript.

Part 1 introduces you to React. You’ll discover JSX syntax, hooks, functional components, and event handling, learn techniques to fetch data from a server, and tackle the tricky problem of state management. Once you’re comfortable with writing React in JavaScript, you’ll pick up TypeScript development in later chapters.

Part 2 transitions you into React Native for mobile development. React Native goes hand-in-hand with React. With your React knowledge behind you, you’ll appreciate where and how React Native differs as you write shared components for Android and iOS apps. You’ll learn how to build responsive layouts, use animations, and implement geolocation.

By the end of this book, you’ll have a big-picture view of React and React Native and be able to build applications with both.
  • 1. Why React?
  • 2. Rendering with JSX
  • 3. Understanding React Components and Hooks
  • 4. Event Handling in the React Way
  • 5. Crafting Reusable Components
  • 6. Type-Checking and Validation with TypeScript
  • 7. Handling Navigation with Routes
  • 8. Code Splitting Using Lazy Components and Suspense
  • 9. User Interface Framework Components
  • 10. High-Performance State Updates
  • 11. Fetching Data from a Server
  • 12. State Management in React
  • 13. Server-Side Rendering
  • 14. Unit Testing in React
  • 15. Why React Native?
  • 16. React Native Under the Hood
  • 17. Kickstarting React Native Projects
  • 18. Building Responsive Layouts with Flexbox
  • 19. Navigating Between Screens
  • 20. Rendering Item Lists
  • 21. Geolocation and Maps
  • 22. Collecting User Input
  • 23. Responding to User Gestures
  • 24. Showing Progress
  • 25. Displaying Modal Screens
  • 26. Using Animations
  • 27. Controlling Image Displays
  • 28. Going Offline
  • Title: React and React Native. Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile - Fifth Edition
  • Author: Mikhail Sakhniuk, Adam Boduch
  • Original title: React and React Native. Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile - Fifth Edition
  • ISBN: 9781805126874, 9781805126874
  • Date of issue: 2024-04-29
  • Format: Ebook
  • Item ID: e_3v76
  • Publisher: Packt Publishing