Home

Automatically dismissing flash messages in Phoenix LiveView

Phoenix LiveView comes with excellent UI interactivity tools out of the box. One of the features Phoenix provides is flash messages. They come in two types: info and error. In LiveView, they are simply displayed using: Phoenix.LiveView.put_flash(socket, :info, “Some info message”) Phoenix.LiveView.put_flash(socket, :error, “Some error message”). When they are displayed,…

Keep reading

Something went wrong. Please refresh the page and/or try again.

Get new content delivered directly to your inbox.