How does Trello handle rearrangement of cards, lists, checklists etc
问题 I am making an app that will have to list of things which can be rearranged. Trello does it perfectly, it allows us to rearrange everything, from lists to cards and checklists. How does it do it? I checked the API calls they make while rearranging, turns out they are sending a key "pos" from the frontend. Everytime I rearrange a card, the ID of that card is used for a PUT request with and updated "pos" value. Here is a list before rearranging: { "id": "553750612a364775ded5f841", "name": "test