mikestefanello / pagoda

Rapid, easy full-stack web development starter kit in Go
MIT License
2.21k stars 115 forks source link

Contributing to htmx examples #84

Open Arash-Afshar opened 1 month ago

Arash-Afshar commented 1 month ago

I'd like to contribute by adding htmx patterns and examples. Is there anything specific you are looking for? If not I can try porting some of https://htmx.org/examples/

mikestefanello commented 3 weeks ago

Sorry for the delay. Thank you for your offer. I don't think there's any examples that I would want included. The only examples that I think make sense bundling in here are simple ones that just show what HTMX is capable of (for those who are new to it) and how to work with it in Go (and the code included in here). Do any stand out to you that would require some non-intuitive approach that highlights features in pagoda more than htmx itself? The downside of including a lot of examples is that there's more to stay on top of and update when API changes are introduced.

Arash-Afshar commented 2 weeks ago

I see, good point. I looked at the examples and the only one that might be useful are the ones that show handling htmx events. Specifically, https://htmx.org/examples/sortable/ for onLoad and also for using js libraries.