Classic.

Good habit is to define your own abstraction in some "commons" module and always use it, and never rely directly on other libs.

At least progressively aim to that standard.

Reply to this note

Please Login to reply.

Discussion

Yep, I am redesigning our whole caching system to avoid future me using the wrong method. 🫤

Talking about cache: how can i force reload badges? I am playing around with them, but after changing the badge image, i still see the old one. Is it save to clear the apps cache, or will i then have to re-enter my nsec?

Cache should be fine to wipe

Need to send the badge events to more relays. There are only very few that have info on any badge.

And then they deprecate one method that was ideal or improve upon another. Or you find some weird edge case in which one of them turns out to be slower with lists > n.

It's always so many trade-offs and decisions to make on whether to improve X, fix deprecation Y now or make new feature Z..

Or worse, Samsung just overrides them in their phones only. 🫤

?cid=6c09b952l3le4wnj8a79n2ljkjplxlgqghminifofvnd3vbp&ep=v1_internal_gif_by_id&rid=giphy.gif&ct=g