Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying React and React Native
  • Table Of Contents Toc
  • Feedback & Rating feedback
React and React Native

React and React Native - Fifth Edition

By : Mikhail Sakhniuk, Adam Boduch
4.2 (9)
close
close
React and React Native

React and React Native

4.2 (9)
By: Mikhail Sakhniuk, Adam Boduch

Overview of this book

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.
Table of Contents (34 chapters)
close
close
1
Part 1: React
16
Part 2: React Native
32
Other Books You May Enjoy
33
Index

Summary

In this chapter, we delved into the world of type-checking and validation in React. We started with the importance of props validation, then introduced TypeScript and its benefits for robust type-checking.

We then applied TypeScript to React, demonstrating its use in type-checking various aspects of React components, from props and state to event handlers, context, and refs. All of it allows you to create applications that are not only more dependable but also easier to maintain, allowing for early detection of errors and significantly improving both the quality of your code and your efficiency as a developer.

As we move to the next chapter, Handling Navigation with Routes, we’ll shift our focus to navigation in React applications. We’ll learn how to set up and use routes to navigate between different parts of our application.

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
React and React Native
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon