News for hackers. Stuff that matters.
Re:Htmx Is Composable? by yawaramin on Thursday January 18, 2024 @10:35PM (#39051289)
> With a cart you might want to add a ‘cart state/session’ id so you can share it

That might not work for carts that work by temporarily 'booking' an item, like a seat for a cinema ticket. By definition, the cart is unique to a user.

Re:Htmx Is Composable? by graftak on Wednesday January 24, 2024 @01:48AM (#39114386)
My local cinema actually allows this but the cart-session is tied to the user session so when you share it the page goes to readonly mode where only the time and chosen seats are visible.