Book Image

Create React App 2 Quick Start Guide

By : Brandon Richey
Book Image

Create React App 2 Quick Start Guide

By: Brandon Richey

Overview of this book

If you're a power user and you aren’t happy always reusing default configurations, from previous applications with each new application, then all you need is Create React App (CRA), a tool in the React ecosystem designed to help you create boilerplate code for building a web frontend. This book will help you use CRA to write React programs without significant configuration-related difficulties. With this quick start guide, you will integrate your applications with React to build efficient professional web services.You will learn to design UIs with the features of CRA and template your React applications. By the end of the book, you will be sufficiently skilled to be able to build faster and effective React apps using CRA.
Table of Contents (10 chapters)

Keep Your App Healthy with Tests and Jest

An important part of any application developer's life is making sure that their application runs properly the first time, every time. That can be a difficult thing to do as applications get more complicated; what might have previously required just a few minutes and a single line of code to clean up or fix might instead start taking hours, days, or even weeks (or longer) to try to fix! In addition, if you're trying to build up your application and make it work cleanly and effectively.

In this chapter, we will cover the following topics:

  • The history of testing React applications
  • Different ways to run React tests
  • A brief introduction to Jest
  • A brief introduction to the test watcher
  • How to write tests