Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine Server Requests and Updates to Document #129

Closed
sirinath opened this issue Jul 3, 2020 · 1 comment
Closed

Combine Server Requests and Updates to Document #129

sirinath opened this issue Jul 3, 2020 · 1 comment

Comments

@sirinath
Copy link

sirinath commented Jul 3, 2020

When updating combine updates:

  • when an event cases multiple elements to update, combine the updates if the results are returned within a reasonable time window
  • if a retuned HTML has other HTMX elements, then combine these updates within a reasonable time window

These can also be broken down as:

  • ability to queue server requests to be called in parallel and/or quick succession
  • ability batch updates to the document for multiple elements with the same trigger or triggers foreign at the same time
  • when returned HTML contains HTMX recursively get the additional HTML and combine them to one document update

If there is a delay in getting the results then to move it to the next update cycle.

@sirinath sirinath changed the title Combine Updates Combine Server Requests and Updates to Document Jul 3, 2020
@1cg
Copy link
Contributor

1cg commented Sep 7, 2020

This is something that I would like handled in hyperscript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants