You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @dsuryd i want to say once again that this is an amazing library and i have been using it on a small project.
I wish to know , what the design would be like to make dotnetify offline-first (handle state changes offline and sync when connected) as well as the real-time it already is
The text was updated successfully, but these errors were encountered:
The strategy is basically to have vm state preloaded and cached so it can serve as a fallback when connection fails; when the connection can be established, the cache is updated with fresh state.
@dsuryd thanks for the reply. that seems like one way update (server to client). if the state has been modified by the client , does the server get any update too ?
It could, but there may be many cases where you want to control when and how, so this shouldn't be done automatically. What dotNetify could do is to provide state transition hooks with default behavior of doing nothing, but could be freely configured.
Hi @dsuryd i want to say once again that this is an amazing library and i have been using it on a small project.
I wish to know , what the design would be like to make dotnetify offline-first (handle state changes offline and sync when connected) as well as the real-time it already is
The text was updated successfully, but these errors were encountered: