Alex Vanyo @vanyo.dev · Nov 17

Let's start with the most straightforward approach: we observe the disk, use it to set the slider's current value, and when the user moves the slider, we update what's stored on disk. Seems great! We have a single source of truth for the state following unidirectional data flow. But...

2 likes 1 replies

?

Replies

Alex Vanyo · Nov 17

Because the value has to make a full round trip to the disk and back before updating, it can feel slow and janky. Editing the disk is asynchronous and can update slower than the visual response that the user expects.