Over 66 recipes that cover UI development, animations, component architecture, routing, and testing with React
Key Features
Use essential hacks and simple techniques to solve React application development challenges
Create native mobile applications for iOS and Android using React Native
Learn how you can write robust tests for your applications using Jest and Enzyme
Book Description
React.js is Facebook's dynamic frontend web development framework. It helps you build efficient, high-performing web applications with an intuitive user interface. With more than 66 practical and self-contained tutorials, this book examines common pain points and best practices for building web applications with React. Each recipe addresses a specific problem and offers a proven solution with insights into how it works, so that you can modify the code and configuration files to suit your requirements. The React Cookbook starts with recipes for installing and setting up the React.js environment with the Create React Apps tool. You’ll understand how to build web components, forms, animations, and handle events. You’ll then delve into Redux for state management and build amazing UI designs. With the help of practical solutions, this book will guide you in testing, debugging, and scaling your web applications, and get to grips with web technologies like WebPack, Node, and Firebase to develop web APIs and implement SSR capabilities in your apps. Before you wrap up, the recipes on React Native and React VR will assist you in exploring mobile development with React. By the end of the book, you will have become familiar with all the essential tools and best practices required to build efficient solutions on the web with React.
What you will learn
Understand complex topics such as Webpack and server-side rendering
Implement an API using Node.js, Firebase, and GraphQL
Maximize the performance of your React applications
Create a mobile application using React Native
Deploy a React application on Digital Ocean
Get to know best practices when organizing and testing a large React application
Who this book is for
If you’re a JavaScript developer who wants to build efficient and scalable solutions, this book is for you. Although not necessary, some knowledge of React will be an advantage. Also, if you have experience working with React, this book will help you improve your skills.
Table of Contents
Working with React
Conquering Components and JSX
Handling Events, Binding and Best React Packages
Adding Routes to our application with React Router
Mastering Redux
Creating Forms with Redux Form
Animations with React
Creating an API with Node.js using MongoDB & MySQL