Need help undetstanding HTMX #2228
kartikynwa
started this conversation in
General
Replies: 1 comment
-
htmx is fundamentally about html/hypermedia. So long as you receive HTML from somewhere - be it your origin server, a 3rd party api, etc... - then you can use it. Check out the docs, the essays and the hypermedia.systems book. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. I mostly have experience in Python, Rust and Go (backend). Lately I started learning Javascript and React so I am new to this realm. I came across HTMX through a link aggregator and was intrigued. HTMX looks really interesting. But I am having difficulty understanding what HTMX is fundamentally capable of so was looking for pointers regarding that.
When I see an example like:
It makes me think I can use a combination of HTMX and a templating language to serve interactive web pages straight from the backend.
But what I was wondering was, is it possible and practical to use HTMX to create a frontend without the backend? For example, let's say I want to create a frontend for Mastodon utilising its API. Maybe I want to make this endpoint instance-agnostic too. Is HTMX a feasible option in such cases?
Thanks for taking the time to read this.
Beta Was this translation helpful? Give feedback.
All reactions