Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
As one of the other replies mentioned, the fetch will throw an event that you listen for. The server is the response formatter. The piece of the puzzle that you're missing is that the intent is that this library is used with the author's other library, htmx[0]. With htmx, the expectation is that you're always returning HTML as the response (though there are extensions available so you can return JSON that could be processed against a client-side handlebars template).
[0] https://htmx.org
Neat, appears to occupy a similar niche as Alpine: https://github.com/alpinejs/alpine
Not to be confused with
hyperscript[0]
hyperscript[1]
hyperscript[2]
[0]: https://github.com/hyperhype/hyperscript
[1]: https://cycle.js.org/api/dom.html#api-h
[2]: https://github.com/vuejs/babel-plugin-transform-vue-jsx/issu...
Not to be confused with
hyperscript[0]
hyperscript[1]
hyperscript[2]
[0]: https://github.com/hyperhype/hyperscript
[1]: https://cycle.js.org/api/dom.html#api-h
[2]: https://github.com/vuejs/babel-plugin-transform-vue-jsx/issu...