Need Library For Caching Data
I'm looking for a library that I can use to cache user data. I'm building a messaging app so I want to cache the most recent messages of the few most recently messaged conversations as well as the conversation list. This should help smooth out the operation of the app however I'm not sure exactly what library I should use for this. Any suggestions?
11 comments · 75% upvoted · other discussions
If you are using Redux, why don't you persist the required state?!
No-Question-3229 [OP] 2 points · Feb 2025
I am not using redux
nicolasdanelon 4 points · Feb 2025
Don't use it. Holy cow redux === tons of boilerplate
WideImpress6128 5 points · Feb 2025
If you use redux + redux-toolkit I think It’s pretty good
nicolasdanelon 1 points · Feb 2025
Check the zustand docs. No way redux toolkit can beat zustand haha. Even mobx is simpler
Puzzleheaded-Sail-90 1 points · Feb 2025
Then i guess you can try the suggestion suggested by @nicolasdanelon