soypat / htmxgo-template

Minimal HTMX frontend + Go backend template
MIT License
1 stars 0 forks source link

HTML data table not updating after new row added via post #2

Open gedw99 opened 1 year ago

gedw99 commented 1 year ago

On chrome. Not sure yet if its just not implemented or is chrome issue.

I am guessing its just not implemented yet.

gedw99 commented 1 year ago

Hey @soypat

I am also working on a htmx that is NOT JS based..

soypat commented 1 year ago

Yeah I am aware of this one, gotta refresh. Unsure how to trigger an htmx event from hyperscript to do this...

gedw99 commented 1 year ago

Have a look at this one:

https://github.com/joerdav/go-htmx-examples

it has what your looking for ! It helped me a ton :)

it’s from :

https://github.com/a-h/templ/network/dependents

Templ is a golang templated compiker . A lot of devs are using it with htmx.

gedw99 commented 1 year ago

https://github.com/acaloiaro/hugo-htmx-go-template Looks pretty damn cool too

soypat commented 1 year ago

Woah, those are nice- thanks @gedw99 !