February 2019
Beginner to intermediate
180 pages
4h 4m
English
In this chapter, we'll learn how to work with JSON by building a simple customer management application. This application lives within the /customers route of our existing app and can create, read, and update customers. JSON data persists to localStorage. Throughout this chapter, we convert external JSON into a typed data structure that Reason can understand in two different ways:
We'll compare and contrast each method at the end of the chapter. We'll also discuss how GraphQL can help provide a pleasant developer experience when working with JSON in a statically typed language such as Reason.
To follow along with building the customer management application, clone this book's GitHub ...
Read now
Unlock full access