tempest-framework icon indicating copy to clipboard operation
tempest-framework copied to clipboard

HTMX support

Open brendt opened this issue 1 year ago • 2 comments

brendt avatar Aug 11 '24 04:08 brendt

Unpoly does a great implementation of HTMX that can work with any framework and any language - include a small script from the webserver for the client, HTML code generated from the views either works like a normal multi-page app, or when the Unpoly client script runs, it does it's magic.

iamdadmin avatar May 17 '25 07:05 iamdadmin

As we speek in discord i will post my stuff here.

My plan is to build a demo app with htmx and learn alot about htmx and tempest.

Hopefully the journey give us insigths which additions we need to support htmx.

Reminder

It is the first bigger app i build with tempest, i will struggle a lot and found some bugs already. I have to learn a lot about the templating engine what is possible to do with those components. I do it on the side and my time is limited right now.

Idea

It should be possible to build livewire like components, thanks to Discovery. We have to do the following:

  • Controller
  • View Component
  • View partials to update the dom

Questions

[ ] Is it possible to build livewire like islands components? [ ] Lazy loading components [ ] How to load island components on the first render?

My Repo for now: https://github.com/thoresuenert/tempest-demo

thoresuenert avatar Jul 10 '25 08:07 thoresuenert