2 ms·
i don't know what the big deal is with a REST API, the front and back ends need to agree on the JSON field names with an HTML API for Datastar, the front and
by mring33621 1y ago
i don't know what the big deal is
with a REST API, the front and back ends need to agree on the JSON field names
with an HTML API for Datastar, the front and back ends need to agree on the element IDs
Really not a huge difference
- multiplegeorges 1y agoRight but this isn’t a REST API. This technique specifically rejects that approach. With htmx, the server just returns HTML and the logic for handling it is entirely in the front end.