Skip to content
/ todos Public

Playing around with htmx and doing a proof of concept.

Notifications You must be signed in to change notification settings

aacevski/todos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chad-stack

To install dependencies:

bun install

To run:

bun run src/index.ts

This is a proof of concept of what htmx is possible of.

What is htmx?

htmx is a javascript library that allows you to use HTML attributes to make AJAX requests. It is a very lightweight library that allows you to make your web applications more dynamic without having to write a lot of javascript.

For example, if you want to make a button that makes an AJAX request to a server, you can do this:

<button hx-get="/api/endpoint">Click me!</button>

This will make a GET request to /api/endpoint and replace the contents of the button with the response from the server.

About

Playing around with htmx and doing a proof of concept.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published