Hey,
since I'm already developing with MauiReactor, I'm thinking of switching to ReactorData too. Currently I'm working with Akaveche to store my local data, but I'm manually managing the initial loading. Loading during app build is a good selling point for me. Also since Akaveche is heavily async-focused, it leads to awkward situations to use it during OnMounted() and I'm not super fond of doing async voids all over.
A few points I'd like to ask:
- Akaveche can target
LocalMachine, UserAccount, Secure, InMemory locations of the device, so I don't really need to set a target location. This is pretty handy, and in many cases helps you organize what you are storing. I like having tokens and user information in UserAccount, sensitive information in Secure so I don't need to worry about it and my app's own data in LocalMachine as transient storage. Could ReactorData implement this pattern?
- Does ReactorData get removed by linker? I suppose
AddReactorData takes care of that?
- The most important point for me: Is it possible to implement
AbsoluteExpirationDate for entities? I suppose calling VACUUM on SQLite on app start should do the trick, not entirely sure though.
- Although I'm currently not using it, Akaveche's
GetAndFetchLatest sounds like a good addition on paper. I suppose ideally it should work with a delegate to a some fetch call with Refit / HttpClient / gRPC call?
Hoping to see more of MauiReactor stuff,
Cheers man.
Hey,
since I'm already developing with MauiReactor, I'm thinking of switching to ReactorData too. Currently I'm working with Akaveche to store my local data, but I'm manually managing the initial loading. Loading during app build is a good selling point for me. Also since Akaveche is heavily async-focused, it leads to awkward situations to use it during
OnMounted()and I'm not super fond of doingasync voids all over.A few points I'd like to ask:
LocalMachine,UserAccount,Secure,InMemorylocations of the device, so I don't really need to set a target location. This is pretty handy, and in many cases helps you organize what you are storing. I like having tokens and user information inUserAccount, sensitive information inSecureso I don't need to worry about it and my app's own data inLocalMachineas transient storage. Could ReactorData implement this pattern?AddReactorDatatakes care of that?AbsoluteExpirationDatefor entities? I suppose callingVACUUMon SQLite on app start should do the trick, not entirely sure though.GetAndFetchLatestsounds like a good addition on paper. I suppose ideally it should work with a delegate to a some fetch call with Refit / HttpClient / gRPC call?Hoping to see more of MauiReactor stuff,
Cheers man.