Skip to content
Discussion options

You must be logged in to vote

Hi,

First of all, thanks for your kind comment! I'm actually considering adding it to the readme as a user testimonial 🙂

Now to the business. Answering such questions is tricky with HTMX, because we're dealing with both the backend, the frontend, and interactions between the two, and a lot of the context (for example API and component architecture) is not available.

Here are some ideas for your code example/use-case:

  • This kind of "business logic" is not really something I'd put in a component. I think it belongs to a FastHX ComponentSelector, in your specific case to a custom RequestComponentSelector implementation (similar to ComponentHeader). The only drawback here is that you must use…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@volfpeter
Comment options

@jaybonthius
Comment options

@jaybonthius
Comment options

@volfpeter
Comment options

@volfpeter
Comment options

Answer selected by jaybonthius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants