Remix.run Logo
mpweiher 2 days 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 2 days ago | parent [-]

You can do that if you want to. It'll just be slower.

mpweiher 2 days ago | parent [-]

Will 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.