Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/syarul/htmx-todomvc

htmx todomvc app with ts, express and jsx
https://github.com/syarul/htmx-todomvc

express htmx jsx lambda lambda-functions netlify todoapp typescript vercel

Last synced: 3 months ago
JSON representation

htmx todomvc app with ts, express and jsx

Awesome Lists containing this project

README

        

# htmx-todomvc
![image](https://htmx.org/img/createdwith.jpeg)

HTMX TodoMVC app with TS, Express and JSX

![Vercel](https://vercelbadge.vercel.app/api/syarul/htmx-todomvc)

[https://htmx-todomvc.vercel.app/](https://htmx-todomvc.vercel.app/)

### What's already in place
- ~~add todo~~
- ~~clear input todo after adding new todo~~
- ~~filter todo base on hash location~~
- ~~check todo behaving correctly~~
- ~~check todo behaving according to location hash~~
- ~~update todo count base on completion~~
- ~~delete todo~~
- ~~edit todo~~
- ~~check all todos~~
- ~~clear completed todos~~
- ~~toggle label toggle all~~
- ~~focus when needed~~

### How does this compare to the full client MVC react?

Base on number of lines codes [https://github.com/tastejs/todomvc/tree/master/examples/react](https://github.com/tastejs/todomvc/tree/master/examples/react) on each files

185 + 62 + 108 + 87 + 50 + 32 (html) = 524 lines (include some comments lines)

Where as this Hypermedia solutions with HTMX + Hyperscript + Alpine + JSX (not including missing features yet)

41 (types) + 226(components) + 14 (middleware) + 97 (app) + 32(server) = 410