I recently built a simple service called HSL Zone.
This service uses HSL open data and a bit of math to detect the user's current zone based on its geolocation.
The first attempt uses React + Hooks and was only a PWA.
The currently deployed attempt uses Reactive state machines and is distributed as a PWA and Mobile application using React and React Native.
I'll be going through the code and challenges and compare the approaches.
- See React hooks in action
- See some cool HSL data use cases
- Compare Hooks subscription model with Reactive state machines
- Benefits of Reactive approach in Declarative views, user experience, etc.