Henrik speaking at a conference

Hi, I’m Henrik Joreteg

Mobile web consultant, developer, and speaker

posts | twitter | email | hire | book | my startup: Xchart.com

Project Fugu: A New Hope

Capabilities. That's what The Web needs.

Things like:

  1. Face or other biometric logins for websites
  2. USB connectivity
  3. TCP and UDP sockets clients / servers
  4. Serial connections
  5. Geofencing and background location tracking
  6. Screen lock / screen brightness
  7. Barcode scanning / generation
  8. Contacts API.
  9. etc., etc., etc.
keep reading »

Improving Redux state transfer performance with JSON.parse(), a quick case study

TLDR: Turning Redux state into a JavaScript string you can parse with JSON.parse() instead of an object literal, or inert script tag, appears to be significantly faster than other approaches for sending Redux store state to the browser.

For my case making this one change shaved TTI (Time To Interactive) from an already pretty good 4.04s to 3.3s, a .74s or ~18% improvement. It increased the Lighthouse performance score an average of _8_ points from 87.2 to 95.2!

keep reading »

Architecting UIs for Change

Techniques for keeping your app code under control even when requirements shift dramatically.

I've had this pinned on my twitter for just about as long as "tweet pinning" has been a thing:

If you don't actively fight for simplicity in software, complexity will win... and it will suck.

keep reading »

Building Honey Badger Web Apps

This is a chapter from my new book Human Redux which is now available!

Chapter 11: Reliable apps

As a user, nothing will more quickly sour me on a piece of software than flakiness. When we try to get someone to use our software, to some degree, we're asking them to trust us. If they're going to enter their data, spend their precious time, or hope to get some value out of the app we've built, they have to trust that it's going to do what it's supposed to do.

keep reading »

A PWA that Spawns PWAs, Oh My!

TLDR; The ability to build apps with web technology isn't just another way to build the same thing. It enables a whole new category of services that didn't make financial sense previously. As proof, I also introduce a real service that I've built for non-profits called Speedy that generates PWAs on the fly and is built on these ideas.

keep reading »