DavidAJohn / BookwormsLendingLibrary

Blazor Server client UI with a .NET Web API backend for an imaginary online library.
https://bookwormslibrary.azurewebsites.net
7 stars 4 forks source link

Change search to htmx? #25

Open DavidAJohn opened 4 months ago

DavidAJohn commented 4 months ago

I've never really liked the way I implemented the search functionality in the UI project.

There are weird inconsistencies between pressing the enter key or clicking the search button and it can get confusing if you re-submit the same query.

So, I've also been experimenting with htmx recently. They have an example of what they call 'Active Search'. It got me thinking.

While I've got some reservations about combining htmx with Blazor, could it be a better solution with this specific (and narrow) use case?