Re:_hyperscript: A jQuery and JavaScript Alternative
by deniz-a on Wednesday April 21, 2021 @01:33PM
(#26892812)
Yep, you can have an `on fetch:error` clause in the element's script.
Wrt. formatting the response, I'm experimenting with a hyperscript template language [1]. However, we don't yet have a design for imperatively building DOM trees (other than just doing it the same way you would in JS).
Wrt. formatting the response, I'm experimenting with a hyperscript template language [1]. However, we don't yet have a design for imperatively building DOM trees (other than just doing it the same way you would in JS).
[1]: https://dev.hyperscript.org/commands/render/