Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 986 Bytes

fix.md

File metadata and controls

12 lines (9 loc) · 986 Bytes

Solution

We have an editable list that users collaborate on concurrently. Each item in the list should have a unique ID, as I suggest storing data in an array of objects, rather than an array of string. In this way we can not only apply CRUD functionality, but also block the input box while focusing to the other concurrent users to avoid overwriting.

A Quick Demo, to illustrate what was happening under the hood when two user use the list concurrently!

step1 step2 step3

With provided solution, no longer users encounter any issue even using concurrently!

Final Layout

layout