3 ms·
> The other is that the code of components is split in two, the part that is rendered on the first time, and the endpoint that returns the updated result. Yeah
by mpweiher 1y ago
> The other is that the code of components is split in two, the part that is rendered on the first time, and the endpoint that returns the updated result.
Yeah, that also bothered me. To me it looks like the page (template) should fetch that partial from the same endpoint that will deliver the partial via the wire to HTMX.
- L3viathan 1y agoYou can do that if you want to. It'll just be slower.
- mpweiher 1y agoWill it? I haven't gotten around to it yet, but my plan is to use in-process REST with Objective-S, so that accessing the internal endpoint will be the cost of a function call. The HTTP wrapper for external access is generic.