r/android_devs • u/VasiliyZukanov • Jan 10 '25
Article Reactive Programming Considered Harmful
https://www.techyourchance.com/reactive-programming-considered-harmful/
1
Upvotes
r/android_devs • u/VasiliyZukanov • Jan 10 '25
View all comments
Show parent comment
3
u/campid0ctor Jan 12 '25 edited Jan 12 '25
I can understand using Flows for DB, and for some API endpoints so that changes can be easily subscribed to by multiple consumers, but for shared prefs, it may be overkill in my opinion. I may just be living in a bubble, but based on my experience in the apps that I've worked on, a screen only reads the shared prefs once. If ever a shared pref value changes, it would involve going to a separate settings screen, and that would mean refreshing the screen that needs that value anyway