Optimistic Delete + Confirm
Each row's Delete opens a themed ConfirmAction modal; on confirm the list swaps to the shorter authoritative list.
Static preview
This is a read-only export. Run the app locally for full interactivity — live search, demos, and server-driven islands need the Go server.
Each row's Delete opens a themed ConfirmAction modal; on confirm the list swaps to the shorter authoritative list.
trigger, modal := ui.ConfirmAction(ui.ConfirmActionConfig{
Name: "opt-delete-" + item.ID,
RPCPath: "/__site/optimistic/delete?id=" + item.ID,
})
widget.Mount(app.Router(), modal.Build()) // once, at startup