جزییات کتاب
Get up to speed with React and React Native to build cross-platform native applications with the help of practical examplesKey FeaturesDiscover React’s latest features including automatic state update batching and prioritizing state updatesGet to grips with React architecture to write cross-platform apps using libraries such as NativeBaseUnderstand GraphQL and Apollo for building a scalable backend for your applicationsBook DescriptionReact and React Native, the innovative user interface libraries made by Meta (formerly Facebook), are designed to help you build robust, cross-platform web and mobile applications.In its fourth edition, this React and React Native book has been updated to cover the latest additions and developments in the React 18 ecosystem, while also being compatible with React Native. You'll begin by learning about the essential building blocks of React components. As you advance through the chapters, you'll work with higher-level functionalities in application development and then put your knowledge to work by developing user interface components for the web and native platforms. In the concluding chapters, you'll learn how to bring your application together with a robust data architecture.By the end of this book, you'll be able to build React applications for the web and React Native applications for multiple mobile platforms with confidence.What you will learnExplore React architecture, component properties, state, and contextWork with React Hooks for handling functions and componentsImplement code splitting using lazy components and SuspenseBuild robust user interfaces for mobile and desktop apps using Material-UIWrite shared components for Android and iOS apps using React NativeSimplify layout design for React Native apps using NativeBaseWrite GraphQL schemas to power web and mobile appsImplement Apollo-driven componentsWho This Book Is ForThis book is for any JavaScript developer who wants to start learning how to use React and React Native for mobile and web application development. No prior knowledge of React is required, however working knowledge of JavaScript is necessary to be able to follow along the content covered.Table of ContentsWhy React?Rendering with JSXComponent Properties, State, and ContextGetting Started with HooksEvent Handling The React WayCrafting Reusable ComponentsThe React Component LifecycleValidating Component PropertiesHandling Navigation with RoutesCode Splitting Using Lazy Components and SuspenseServer-Side React ComponentsUser Interface Framework ComponentsHigh Performance State UpdatesWhy React Native?React Native Under The Hood?Kickstarting React Native ProjectsBuilding Responsive Layouts with Flexbox Navigating between ScreensRendering Item ListsShowing ProgressGeolocation and MapsCollecting User InputDisplaying Modal ScreensAnimationsResponding to User GesturesControlling Image DisplayGoing OfflineSelecting Native UI Components Using NativeBaseHandling Application StateWhy Apollo?Building an Apollo React App