Zearin,
@Zearin@mastodon.social avatar

@zachleat Suppose I wanted to run using its own dev server, but I also wanted to tinker with (https://htmx.org) to learn about it.

Q1: Is this possible now?

Q2: Will this be possible in the not-too-distant future?

eleventy,
@eleventy@fosstodon.org avatar

@Zearin @zachleat probably? I’m not super familiar with the server side requirements of htmx, are there any or is it just left open?

kerfuffle,
@kerfuffle@mastodon.online avatar

@eleventy @Zearin @zachleat Combining SSR with a static site generator isn't the first combination I'd be looking for, but according to https://htmx.org/docs/#requests any server that can respond to an AJAX request and send HTML would suffice. HTMX 2 will also support websockets and SSE; not sure if 11ty does?

zachleat,
@zachleat@zachleat.com avatar

@kerfuffle @eleventy @Zearin I guess my primary question is whether or not it sends a specialized header for AJAX requests to distinguish server side between fragment or document, e.g. https://github.com/11ty/eleventy-dev-server/pull/52

  • All
  • Subscribed
  • Moderated
  • Favorites
  • 11ty
  • khanakhh
  • magazineikmin
  • osvaldo12
  • GTA5RPClips
  • mdbf
  • Youngstown
  • tacticalgear
  • slotface
  • rosin
  • kavyap
  • ethstaker
  • everett
  • thenastyranch
  • DreamBathrooms
  • provamag3
  • InstantRegret
  • normalnudes
  • cubers
  • Leos
  • ngwrru68w68
  • cisconetworking
  • modclub
  • Durango
  • megavids
  • anitta
  • tester
  • JUstTest
  • lostlight
  • All magazines