Camille Hodoul

Initiative Rocks!

April 30, 2019

Initiative Rocks! is a simple combat tracker for D&D.

As I looked for an excuse to play with tech I didn’t have the chance to work with yet (such as workbox), I decided to do something less boring than a to-do list, and got inspired by my recent svelte adventure.
Thus, D&D.

repo

Features

  • works offline
  • can be installed locally on compatible platforms (such as iOS, Android, Chrome…)
  • mobile-friendly

Challenges

  • Persisting state in PWAs is surprisingly not straightforward yet. I use localforage to save and restore state, but this approach implies that state is shared across windows.
  • I’ve found focus management on iOS with React hooks rather uncooperative.

Camille Hodoul

I'm a JavaScript and PHP developer living in Marseille, France.
Twitter, Github, Flickr