React and React Native - Mikhail Sakhniuk, Adam Boduch

React and React Native

Build cross-platform JavaScript and TypeScript apps for the web, desktop, and mobile
Buch | Softcover
508 Seiten
2024 | 5th Revised edition
Packt Publishing Limited (Verlag)
978-1-80512-730-7 (ISBN)
41,10 inkl. MwSt
Get a big-picture view of modern React and React Native and see how they go hand-in-hand – covering TypeScript development, Vite, state management strategies, unit testing with Jest, and more.
Purchase of the print or Kindle book includes a free PDF eBook.

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 DescriptionWelcome 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 forThis 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.

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.

Table of Contents

Why React?
Rendering with JSX
Understanding React Components and Hooks
Event Handling in the React Way
Crafting Reusable Components
Type-Checking and Validation with TypeScript
Handling Navigation with Routes
Code Splitting Using Lazy Components and Suspense
User Interface Framework Components
High-Performance State Updates
Fetching Data from a Server
State Management in React
Server-Side Rendering
Unit Testing in React
Why React Native?
React Native Under the Hood
Kickstarting React Native Projects
Building Responsive Layouts with Flexbox
Navigating Between Screens
Rendering Item Lists
Geolocation and Maps
Collecting User Input
Responding to User Gestures
Showing Progress
Displaying Modal Screens
Using Animations
Controlling Image Displays
Going Offline

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 191 x 235 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Software Entwicklung Mobile- / App-Entwicklung
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-80512-730-6 / 1805127306
ISBN-13 978-1-80512-730-7 / 9781805127307
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich