by ranger_danger · 8mo ago · 0 comments
Sorry if I need to use existing APIs I cannot change.
As someone else mentioned, having your own server backend act as an intermediary between your front end and the API that serves JSON is probably the most straightforward solution to keep everything HTMX-y.
Browser -> your server route -> server calls API -> server renders HTML -> htmx swaps it?I mean if the devs and the users are all telling you it doesn't make sense, maybe it really doesn't make sense. Not everything is supposed to be able to do everything. Some things are targeted and focused on specific use cases.