-
Notifications
You must be signed in to change notification settings - Fork 0
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
Data fetching++ #72
Labels
data binding
Everything related to data binding
enhancement
New feature or request
experimental
Breaking changes can happen at any time
Comments
DrSensor
added
enhancement
New feature or request
data binding
Everything related to data binding
experimental
Breaking changes can happen at any time
labels
Jul 14, 2023
TODO:
|
Most likely gonna change:
Hopefully this make the attribute name reflect the microdata model pattern 🤲 |
About batch request, I think this might work const form = new FormData()
form.append(uuid, new Blob(
req_toHTTP1_str(
new Request(...)).toWellFormed(),
{ type: "application/http" }
))
fetch(url, {
method: "POST",
headers,
cache: "no-store",
body: form,
signal: abort.signal,
}) |
Although this use GAS (Google Apps Script), not Web API, at least it give a general idea how to do batch request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
data binding
Everything related to data binding
enhancement
New feature or request
experimental
Breaking changes can happen at any time
Inspired from htmx but use any arbitrary data format for data binding instead of swapping html.
Use
<link>
to handle multiple data.In that example, each
<link>
is a record. However, it also applicable on table too (i.e via html attributetype=text/csv
or response headerN-Data-Format: column
) which need<template>
to render each<li>
.The text was updated successfully, but these errors were encountered: