Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on RustGPT: ChatGPT UI Built with Rust, Htmx, SQLite. Parent comment
The server can include a couple response headers to override the placement of the message to not affect the existing page state
https://htmx.org/docs/#response-headers
This allows the error to either be added inline in the UI somewhere or (my preference) displayed as a toast by appending to the end of the <body>
The server can include a couple response headers to override the placement of the message to not affect the existing page state
https://htmx.org/docs/#response-headers
This allows the error to either be added inline in the UI somewhere or (my preference) displayed as a toast by appending to the end of the <body>