React and React Native - Fifth Edition

Bog
  • Format
  • Bog, paperback
  • Engelsk
  • 508 sider

Beskrivelse

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 FeaturesNew content on TypeScript, React frameworks, state management strategies, and unit testingGet to grips with React fundamentals and modern React techniques and architectureBroaden your React expertise through mobile development with React NativeBook 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 learnExplore React architecture, component properties, state, and contextWork with React Hooks for handling functions and componentsFetch data from a server using the Fetch API, GraphQL, and WebSocketsDive into internal and external state management strategiesBuild robust user interfaces (UIs) for mobile and desktop apps using Material-UIPerform unit testing for your components with Vitest and mockingManage app performance with server-side rendering, lazy components, and SuspenseWho 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.

Table of ContentsWhy React?Rendering with JSXUnderstanding React Components and HooksState Management in ReactEvent Handling, the React WayCrafting Reusable ComponentsHandling Navigation with RoutesCode Splitting Using Lazy Components and SuspenseUser Interface Framework ComponentsHigh-Performance State UpdatesFetching Data from a ServerState Management in ReactServer-Side RenderingUnit Testing in ReactWhy React Native?React Native Under the HoodKickstarting React Native ProjectsBuilding Responsive Layouts with FlexboxNavigating Between ScreensRendering Item ListsShowing ProgressGeolocation and MapsCollecting User InputDisplaying Modal ScreensResponding to User GesturesUsing AnimationsControlling Image DisplaysGoing Offline

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal508
  • Udgivelsesdato29-04-2024
  • ISBN139781805127307
  • Forlag Packt Publishing
  • FormatPaperback
  • Udgave5. Auflage
Størrelse og vægt
  • Vægt938 g
  • Dybde2,7 cm
  • coffee cup img
    10 cm
    book img
    19,1 cm
    23,5 cm

    Findes i disse kategorier...

    Velkommen til Saxo – din danske boghandel

    Hos os kan du handle som gæst, Saxo-bruger eller Saxo-medlem – du bestemmer selv. Skulle du få brug for hjælp, sidder vores kundeservice-team klar ved både telefonerne og tasterne.

    Om medlemspriser hos Saxo

    For at købe bøger til medlemspris skal du være medlem af Saxo Premium, Saxo Shopping eller Saxo Ung. De første 7 dage er gratis for nye medlemmer. Medlemskabet fornyes automatisk og kan altid opsiges. Læs mere om fordelene ved vores forskellige medlemskaber her.

    Machine Name: SAXO082