5 ms·
I just don't like having to send HTML and have the backend deal with what are really frontend problems. Sending JSON is great since you can serialize most reas
by jeffjeffbear 9mo ago
I just don't like having to send HTML and have the backend deal with what are really frontend problems. Sending JSON is great since you can serialize most reasonable data types into it and then the backend has no responsibility for how it is rendered which helps for having mobile apps use the same backend as the website. Sending HTML just seems nuts since if you change your design you would have to change the backend too.
- internet_points 9mo agoif you require a backend/frontend split, you're maybe not in the htmx use case if you can imagine having just one "end", maybe you can use htmx
- yawaramin 9mo agoSee this subthread https://news.ycombinator.com/item?id=46315559 https://news.ycombinator.com/item?id=46315559