from pRegroup2020 Multiple Movement Issues - Lasso selection of 200 stickies and moving them around takes time for the screen to refresh - Itās because the code for moving one sticky is being used all over the place, and itās causing 200 status updates to run. - Undo to go back one by one as you are moving individual stickies. - Undoable from the ground up to make the state Undoable, but it was not designed properly - Instead of āeach state update should be subject to Undoā, it should be āeach user operation should be subject to Undoā. - I thought āUndo is hardā with the image of old GUI implementation, but not so much. - If you follow the React Way of āno destructive updates to state,ā you can easily get back to a āstate at a point in timeā by simply keeping a reference to the state at that point in time.
This page is auto-translated from /nishio/č¤ę°ē§»åć®åé” using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. Iām very happy to spread my thought to non-Japanese readers.