AdventOfProgress Day 21

For this day, I wanted to implement swipe gestures to edit or delete a list entry. More complex than initially thought but doable within this day.

There were 3 packages to install: a gesture handle, an animation lib, and expo-haptics. After creating a swipeable row, I needed to implement the actions for edit and delete some hooks and was mostly done. After writing this all down, it sounds less complex than it felt when I implemented it. 😅

While testing the app, I saw a caching bug after switching users. User2 saw the data of User1 after a sign-out and new sign-in because the cache was not cleared on user change.

👋


79 of #100DaysToOffload
#log #AdventOfProgress
Thoughts? Discuss...