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.
- works offline
- can be installed locally on compatible platforms (such as iOS, Android, Chrome…)
- 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.