React and React Native: Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile 5th Edition

React and React Native: Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile 5th Edition book cover

React and React Native: Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile 5th Edition

Author(s): Mikhail Sakhniuk (Author), Adam Boduch (Author)

  • Publisher: Packt Publishing
  • Publication Date: 29 April 2024
  • Edition: 5th
  • Language: English
  • Print length: 508 pages
  • ISBN-10: 1805127306
  • ISBN-13: 9781805127307

Book Description

PUBLISHER’S NOTE: A new edition of this book, updated for latest version of React 19, and is now available.

Key Features

  • New content on TypeScript, React frameworks, state management strategies, and unit testing
  • Get to grips with React fundamentals and modern React techniques and architecture
  • Broaden your React expertise through mobile development with React Native

Book Description

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.

What you will learn

  • Explore React architecture, component properties, state, and context
  • Work with React Hooks for handling functions and components
  • Fetch data from a server using the Fetch API, GraphQL, and WebSockets
  • Dive into internal and external state management strategies
  • Build robust user interfaces (UIs) for mobile and desktop apps using Material-UI
  • Perform unit testing for your components with Vitest and mocking
  • Manage app performance with server-side rendering, lazy components, and Suspense

Who this book is for

This book is for any JavaScript or TypeScript developer who wants to start learning how to use React and React Native for web and mobile app development.

No prior knowledge of React or React Native is required. However, a working knowledge of JavaScript is necessary to be able to follow along the content covered.

Table of Contents

  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

Editorial Reviews

Review

“The authors have made sure in this edition to include all recent updates in React and React Native, as well as TypeScript. The book takes you on a long journey to learn how to build modern frontend apps for web, desktop, and mobile.

From the very basics of React the book begins explaining about the essentials.

There is an immense knowledge on the core building block—the Component.

Another essential part that comes right after the component is JSX—JavaScript Xml, the syntax extension of JavaScript to enable writing HTML in react in a simple way.

The book is rich with diagrams, screens, and code examples so you will feel totally immersed.

A highly recommended read if you want to take your frontend development career to the next level and shine.”

Aram Tchekrekjian, Microsoft MVP, Technical Product Head at Aramex

“If you’re new to React and are aiming to become a professional React developer, this book is for you. The updated fifth edition covers the current state of React, including the React framework and TypeScript.”

Stefan Dokic, Microsoft MVP, Senior .NET Developer at EXLRT

“I began by embracing the fundamentals of React, mastering JSX syntax, hooks, functional components, and efficient event handling. The insights into data fetching and state management were especially illuminating, seamlessly connecting backend data handling with frontend presentation.”

Admir Mujkic, Staff Engineer at IEHSoftLabs Ltd.

About the Author

Mikhail Sakhniuk is Software Engineer with high proficiency in JavaScript, React and React Native. He has more than 5 years of experience in developing web and mobile applications. He has worked for startups, fintech companies, and product companies with more than 20 million users. Currently, Mikhail is working at Miro as a Frontend Engineer. In addition, he owns and maintains a few open-source projects. He also shares his experience and knowledge through books and articles.

Adam Boduch has been involved in large-scale JavaScript development for nearly 15 years. Before moving to the frontend, he worked on several large-scale cloud computing products using Python and Linux. No stranger to complexity, Adam has practical experience with real-world software systems and the scaling challenges they pose.

View on Amazon

电子书代发PDF格式价格30我要求助
未经允许不得转载:Wow! eBook » React and React Native: Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile 5th Edition