Title kinda says it, but I was looking through the todo_trek project, excellent btw, and saw an event handler for the restore_if_unsaved event in TodoTrekWeb.TodoListComponent. I don’t see the event referenced anywhere in the code or phoenix_live_view code. Just curious if this is dead code or this is an event that gets fired by the framework in reaction to maybe connection failure?
Code for reference:
https://github.com/chrismccord/todo_trek/blob/4d7357428993ce46625e1d39cb0fda9c0a832fc6/lib/todo_trek_web/live/todo_list_component.ex#L202






















