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
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.
Who is this book 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.
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
Really well made book! A lot of great topics covered!
Subscriber review
E. LeonardAug 13, 2024
4
This is the fifth iteration of this title and as such we're into incremental improvements, I reviewed the last revision of the book also so this one I was able to speed through looking for changes, updates and impovements the main one being the continued progress of adopting typescript in typical professional organisation settings. This is a welcome addition.The title is a solid get starter kit given the coverage of the web and mobile nature of react/react native respectively. As more organisations make use of RN for mobile it's a great addition to any developers profile. The hooks section is fairly brief considering there is so much reliance on them in typical apps today but you get a good overview and it's easy to build up on that knowledge from official docs or other learning materials easily accessible online.I almost knocked a star off because I feel that the typical reader is a beginner looking to hit the job market or a professional in another language looking to change stacks but there is enough material here to merit four stars and the coverage of new React features is useful for both new and existing engineers, let's not forget not all orgs are jumping major version upgrades as fast as they might like to.Overall useful update to an established title, if you haven't made a previous purchase this is a good add to your collection
Amazon Verified review
Yondela MyatazaJul 29, 2024
5
Feefo Verified review
Chetan NadaJul 21, 2024
5
The authors have done an excellent job structuring this book into two parts, each focusing on crucial aspects of React and React Native.Part I: This section starts with the basics of React, including JSX, and an in-depth look at Hooks. It then moves on to event handling, reusable components, and TypeScript for type checking and validation. You'll also learn about routing, code-splitting for performance, Material UI for UI design, state updates, and data fetching techniques. Advanced topics such as state management with Redux and MobX, and server-side rendering are covered, concluding with thorough testing strategies like unit, integration, and end-to-end testing.Part II: This part dives into React Native for mobile development. It begins with the basics and current architecture of React Native, guiding you through starting a new project. You’ll learn to build responsive layouts with Flexbox, navigate between screens, and handle lists, geolocation, and user input. Advanced topics include user gestures, progress indicators, modals, animations, and lazy image loading. The final chapters cover network state detection and data synchronization.The best thing about this book is its clear and concise writing style, making complex topics easy to understand. The step-by-step instructions and code snippets make learning straightforward. I Highly recommended it! ✔️
Amazon Verified review
Amazon CustomerJul 09, 2024
5
A great read for anyone looking to brush their skills in react and react-native. It starts from fundamentals, how to fetch data from various sources, dealing with state management and unit testing using vitest, and then dives into react native for those interested mobile app development. I'm currently using react for a personal project and it's great to have this book for reference.
Roy Derks is a serial start-up CTO, international speaker, and author from the Netherlands. He has been working with React, React Native, and GraphQL since 2016. You might know him from the book “React Projects – Second Edition”, which was released by Packt earlier this year. Over the last few years, he has inspired tens of thousands of developers worldwide through his talks, books, workshops, and courses.
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.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.