I wrote an article about my undo/redo implementation in Odin:
https://jakubtomsu.github.io/posts/simple_undo_redo_in_odin/