Responsible JavaScript
foreword by Estelle Weyl
Learn how to use JavaScript responsibly and create resilient experiences that are more accessible and inclusive.
Get this book
Please reach out to this book’s author to inquire about availability.
A Book Apart no longer sells or distributes books.
JavaScript plays a powerful role in creating rich interactive experiences. But its power comes at a cost: longer load times, sluggish pages, and inaccessible content. The more we rely on client-side rendering, the more likely we are to exclude visitors with older devices, slower connections, or those who have disabled JavaScript altogether.
If we want people to fully experience the sites we have worked so hard to craft, then we must be judicious in our use of JavaScript. In thoughtful detail, Jeremy Wagner shows how JavaScript can be used to progressively enhance server-side functionality, while improving speed and access for more visitors. By centering user needs every step of the way—from toolchains to metrics to testing—we can all contribute to a more inclusive, accessible, and resilient web.
This book explores:
- How framework choices directly impact user experience outcomes
- Techniques for loading JavaScript and effectively navigating modern toolchains
- How to mitigate performance disruption from third-party JavaScript
- Using Service Worker technology to create more resilient experiences
Previous NextJeremy’s clear and straight-to-the-point style shines throughout this book, explaining dense subjects approachably. Anyone wanting to write JavaScript well should read this book.
Olu Niyi-AwosusiJavaScript developer at Oddbird
Previous NextJeremy breaks down the technology that powers the modern web, and offers reliable techniques for creating robust, resilient user-facing experiences—experience that could be the difference between someone getting what they need, or being left out in the cold.
Eric BaileyDesigner and A11Y Project maintainer
Previous NextResponsible JavaScript is a refreshingly pragmatic and motivational read, offering a blunt but deft reminder that our work comes with heavy responsibility. Do yourself—and, more importantly, your users—a favor: read this book and help us all start building better software today.
Suz HintonSenior software engineer for developer tools at Stripe
Product Details
- ISBN: 978-1-952616-11-2
- Paperback: 195 pages
- Published: Oct 26, 2021