Press "Enter" to skip to content

Progressive Web Apps with Preact


100 Pages
$19.99 USD
ISBN: 978-1-939902-53-5
Published April 2018

Progressive Web Apps with Preact
Oskar Hane, Jordan Danford, Vu Tran, Stijn de Witt, Dan Zajdband

“[The book] covered a lot of subjects without losing the focus on the main topic. I also loved the comments on the code sample, it really helps for the newbie reader to know what exactly is happening in each line of code.”
- Julio Akira Pedroso, programmer

This book is a step-by-step guide that will teach you how to build progressive web apps from scratch with Preact. More importantly, this book shows you how to create modern and robust applications that work well under network and computing constraints in the mobile era. You will learn how to build a PWA from scratch, synchronize your data to work offline, test, annotate the types on your data structures to improve quality, and learn how to measure the performance and resilience of the app in adversarial situations.

The example web app that you will build is a client for Hacker News, a popular social news site focused on technology and entrepreneurship. By the end of this book, you will learn how to:

-Build a progressive web app
-Migrate an existing app from React to Preact
-Test and debug Preact apps
-Use Preact effectively with TypeScript
-And more

Table of Contents:

CHAPTER 1. Introduction
CHAPTER 2. Useful Patterns
CHAPTER 3. Backbone of a PWA
CHAPTER 4. Migrating from React to Preact
CHAPTER 5. Testing
CHAPTER 6. Developer Tools
CHAPTER 7. Adding static typing with TypeScript (or Flow!)
CHAPTER 9. Let’s build a PWA
CHAPTER 10. Internalization (i18n)
CHAPTER 11. Creating embeddable widgets with Preact