News for hackers. Stuff that matters.
Re:A Real World React – Htmx Port by pwdisswordfish0 on Monday October 17, 2022 @09:02PM (#33241736)
I did watch the video, iirc he literally says “is this client-side state I have to worry about? No.” multiple times. When the user changes something that affects the UI in multiple places, all the necessary fragments are fetched from the server and swapped in by htmx.
Re:A Real World React – Htmx Port by spion on Saturday October 22, 2022 @07:36PM (#33303208)
You still have to consult the state of multiple facet dropdowns, as well as the user's personal list of favorites at the same time to get the correct response, don't you?
Re:A Real World React – Htmx Port by David-Guillot on Monday October 24, 2022 @11:26AM (#33317948)
As I said in my other answer: our facet filters are nothing more than hidden inputs in a form. So nobody consults "the state of multiple facet dropdowns", except htmx when it generates the URL of its XHR call. Everything else (filtering items according to querystring parameters, fetching user favorites, etc.) is done on server-side.