I ned some direction from the community as to how to prevent race-condition in ReactJS w/ Redux.
Supposedly two people are looking at the same record, and both would like to make change to it, what is the action flow suppose to look like? I am not sure how to google this query so i decided to ask the community to point me in the right direction.
Initially I thought that if i do a setState and persist it into DB, it will automatically refresh in the eyes of the other users (although I cannot confirm that), otherwise how would I lock the item for change so that other users cannot manipulate the value?