Re:Htmx 2.0.0 has been released
by ghnws on Tuesday June 18, 2024 @08:34AM
(#40717067)
I'm qurious what that code was doing that could be just moved to the backend. Usually forms have some validation for a better experience with the final validation on the server. Did you get rid of that and just show an error if the submission failed?
[ Parent
| on HN ]
Re:Htmx 2.0.0 has been released
by simonbarker87 on Tuesday June 18, 2024 @10:17AM
(#40718159)
Near enough yes but it was a nice helpful error message with the form fully populated as they left it - as far as it looks the user itβs client side validation as the service responds with just the correct html for the form and htmx swaps out the chunk of html.
Its like old school for validation back in the CodeIgniter days.
Re:Htmx 2.0.0 has been released
by ranger_danger on Saturday June 29, 2024 @08:34PM
(#40834321)
So the 500 lines removed was literally just removing functionality in the first place (you should always validate on both sides anyway).