Hi everyone! I’m having trouble figuring out a state bug I’m experiencing with LiveView. Does anyone have time to pair or suggestions on fixing this bug?
Summary:
If the tab has been open for a long time and the user returns to it, it shows an old state and will allow them to make updates that shouldn’t be allowed (e.g. a user completes the same sidequest twice so they get 2x the points for it).
Have you tried implementing form recovery? I had the same issue with incorrect state, so I had to store some extra hidden fields and made an extra function to handle the reconnect.