This is the code repository for React and React Native - Fourth Edition, published by Packt.
Build cross-platform JavaScript applications with native power for the web, desktop, and mobile
Over the years, React and React Native has proven itself among JavaScript developers as a popular choice for a complete and practical guide to the React ecosystem. This fourth edition comes with the latest features, enhancements, and fixes to align with React 18, while also being compatible with React Native. It includes new chapters covering critical features and concepts in modern cross-platform app development with React.
This book covers the following exciting features:
- Explore React architecture, component properties, state, and context
- Work with React Hooks for handling functions and components
- Implement code splitting using lazy components and Suspense
- Build robust user interfaces for mobile and desktop apps using Material-UI
- Write shared components for Android and iOS apps using React Native
- Simplify layout design for React Native apps using NativeBase
- Write GraphQL schemas to power web and mobile apps
- Implement Apollo-driven components
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
class MyComponent extends React.Component {
render() {
return (
<section>
<h1>My Component</h1>
<p>Content in my component...</p>
</section>
);
}
}
Following is what you need for this book: This 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.
With the following software and hardware list you can run all code files present in the book (Chapter 1-31).
Chapter | Software/Hardware required | OS required |
---|---|---|
1-31 | React | Windows Mac OS X and Linux |
1-31 | React Native | Windows Mac OS X and Linux |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
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.
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 30 million users. Currently, Mikhail is working as a Senior Frontend Engineer. In addition, he owns and maintains a few open-source projects. He also shares his experience and knowledge through books and articles.
- React and React Native - Third Edition
- React Material-UI Cookbook
- Mastering Immutable.js
- React Projects
- jQuery UI Cookbook
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.