movex
movex copied to clipboard
[libs/movex] Bug - On slower networks sometimes, when there is an ack mismatch the `resyncLocalState()` throws an error
What
When there is an "Ack Mismatch", but what happens is that if there is an another action being dispatched in between syncing the new state it seems the following error gets thrown:
Where
File: libs/movex/src/lib/MovexResource.ts:322
calls resyncLocalState()
Expected Behavior
- [ ] No error gets thrown
- [ ] The state eventually syncs up with no issue irrelevant of the order of the actions being dispatched and of the missmatched ack checksums
Notes
This is how I interpret the error at a glimpse but it might be something different. Need to investigate more.