~/talk

Adding Undo/Redo to Complex Web Apps

Talkat dotJS 2024 · on Thursday, 2024-06-27· [frontend-architecture]
slides:none on file

Five minutes claims a concrete pattern: wrap every user-caused sequence in an encapsulate sequences with UUIDs identifier, persist the command and an inverse, and replay or reverse it to implement undo redo even when side effects and backend ops run concurrently. Example: a todo flow produces several triggered actions but bundling them under one id lets the system move cleanly between states. The talk points to an article on the content Square engineering blog and outlines map each action to its opposite as the core rule.

AI-written summary · about

  1. 0:00Introduction to undo redo
  2. 0:31Basic state management
  3. 1:25Addressing complex state
  4. 2:46Implementing the solution
  5. 4:12Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.