← Graph

Undo Event

concept 1 connections

Special Logux event used to handle server-side errors in optimistic UI. When the backend rejects an action, it emits an undo event carrying the original event's metadata; receiving clients remove the original event from the Redux store and recalculate front-end state. The logux-rails gem provides a helper for emitting undo events on server-side validation failure.

category
pattern
about
Undo Event concept
Explains Logux's undo-event mechanism for server-error rollback.

Provenance

Created in
Optimistic UI with Logux — wroclove.rb 2019 2026-04-17 21:46
Read by
2 extractions