News for hackers. Stuff that matters.
Re:Show HN: Web Development with Htmx, Type-Guided Component... by pbronez on Tuesday June 04, 2024 @07:15AM (#40573136)
On mobile, when I hit the docs link, the actual content falls below the fold. The search bar and ToC take up the whole screen. Recommend you collapse the ToC to a menu button and shrink the search bar.
Re:Show HN: Web Development with Htmx, Type-Guided Component... by pbronez on Tuesday June 04, 2024 @07:28AM (#40573227)
You might expand on your examples to demonstrate persistence. You mention that the cookie cutter template has “many modules are missing, such as models and database connections.” I think this is a meaningful gap to fill.

The initial button example might be a good one to build on. You could show how to persist the counter value in SQLite.

Re:Show HN: Web Development with Htmx, Type-Guided Component... by pbronez on Tuesday June 04, 2024 @07:32AM (#40573257)
It would be nice to have a “next page” button at the bottom of the documentation pages, so you can read straight through without popping back up to the ToC.
Re:Show HN: Web Development with Htmx, Type-Guided Component... by paveldedik on Tuesday June 04, 2024 @07:34AM (#40573280)
Thank you very much, really good advice here.