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

chore: Add HTMX to the examples #2265

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mbarzeev
Copy link

Hi 👋🏼

This PR introduces a TodoMVC example implemented with HTMX, an emerging library that enables server-driven user interfaces with minimal JavaScript.
HTMX follows an approach that brings powerful interactivity without a heavy client-side framework, allowing the frontend to remain mostly server-rendered while still delivering dynamic, responsive user experiences.

I believe that HTMX provides an alternative approach to building reactive interfaces without the complexity of a traditional SPA (Single-Page Application) framework, making it a valuable inclusion in the list of “frameworks.”

Recently HTMX has garnered significant interest due to its approach, which bridges the gap between traditional multi-page apps and SPAs. It offers a middle ground for developers who want interactivity but prefer server-rendered views over complex JavaScript-driven frontends.

Please check out the README for it has more details on the example's architecture and benefits.

(BTW, I had issues trying to run the Cypress tests, but I made sure to stick to the application spec and also insisted on comparing with the React's example, though it does not stick precisely to the spec...)

Thank you for considering this addition to TodoMVC!

Best regards,
Matti.

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

Successfully merging this pull request may close these issues.

1 participant