What's the best approach to manually append some data to a Store's contents? #612
-
This is better explained with an example: I have a Store backed by some I think the obvious (and simple) solution is to just invalidate the cache and let the Store refresh itself with updated data from the API, which absolutely works fine. Since the Create/Update calls return the updated The other option is to use a
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Maybe Just got access to the channel on kotlinlang Slack, so I'll continue to dig (and keep this discussion updated if I figure out the answer) |
Beta Was this translation helpful? Give feedback.
Thanks for sharing. Here's one way you could approach this. Note that
StoreKey
,StoreData
, andStoreMultiCache
are experimental and will change.