Hello, suppose that any app gives state from server and some time works offline and uses for offline work - redux-optimistic actions. There are 2 possible situations:
1) If after any time period without closing client it will reconect to the server, - some callbacks will be run and some actions committed or reverted - good
2) If after any time period without closing client it will has no ability to reconnect to the server, i would like to save state and data about not committed/ not reverted actions. Is this the way to take this info (about state and these not finished actions) using redux-optimist? So later (in some days) i can reestablish the state (from client side) with the list of uncommitted actions and reconnect to the server and become some callbacks (to commit or revert unfinished actions)?
Hello, suppose that any app gives state from server and some time works offline and uses for offline work - redux-optimistic actions. There are 2 possible situations: 1) If after any time period without closing client it will reconect to the server, - some callbacks will be run and some actions committed or reverted - good 2) If after any time period without closing client it will has no ability to reconnect to the server, i would like to save state and data about not committed/ not reverted actions. Is this the way to take this info (about state and these not finished actions) using redux-optimist? So later (in some days) i can reestablish the state (from client side) with the list of uncommitted actions and reconnect to the server and become some callbacks (to commit or revert unfinished actions)?