Just a Spec

Fast Frontend Testing, Storage, Observers, Fetch, & More

September 28, 2023 Jared White & Ayush Newatia Episode 11
Fast Frontend Testing, Storage, Observers, Fetch, & More
Just a Spec
More Info
Just a Spec
Fast Frontend Testing, Storage, Observers, Fetch, & More
Sep 28, 2023 Episode 11
Jared White & Ayush Newatia

A whole grab bag of topics today! We talk about some of the well-known storage APIs like localStorage and sessionStorage, as well as the newer IndexedDB API which pairs well with Service Workers. We also talk about the three Observer APIs to help with reacting to DOM mutations, scrolling, and size changes. Apparently fetch DID happen (!), and testing against three headless browsers at once in a fast and reliable manner is easier than ever. All that and more in today’s episode of Just a Spec.

Hosted by Jared White & Ayush

Links:

Show Notes Chapter Markers

A whole grab bag of topics today! We talk about some of the well-known storage APIs like localStorage and sessionStorage, as well as the newer IndexedDB API which pairs well with Service Workers. We also talk about the three Observer APIs to help with reacting to DOM mutations, scrolling, and size changes. Apparently fetch DID happen (!), and testing against three headless browsers at once in a fast and reliable manner is easier than ever. All that and more in today’s episode of Just a Spec.

Hosted by Jared White & Ayush

Links:

Introduction
Queue up the topics
Web Storage APIs
Service Workers
Discussion about storage and service workers
Service workers in hybrid mobile apps
Synchronizing data with the backend
SessionStorage gotchas
Observer APIs (MutationObserver, etc.)
Observing the DOM over time, rather than new page loads
Remember XMLHTTPRequest? (quite the mouthful!)
fetch is so much easier!
APIs so old they're named after XML ;-P
…and now we're talking about IE!
Using fetch on the server (Node etc.)
fetch happened
Testing web components using 3 headless browsers
Lightning round: Theme colors changing browser chrome
New viewport units
Outro