https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • m

    mysterious-toddler-20573

    11/14/2022, 3:00 PM
    but htmx 1.x will be supported indefinitely
  • m

    mysterious-toddler-20573

    11/14/2022, 3:00 PM
    just as intercooler.js is
  • m

    mysterious-toddler-20573

    11/14/2022, 3:01 PM
    this is the benefit of having a FAANGBSS backing your software project: when a company the size of big sky software puts out an open source project, they can afford to support it indefinitely
  • m

    mysterious-toddler-20573

    11/14/2022, 3:01 PM
    narrator: Big Sky Software is Carson + his dogs
  • r

    refined-waiter-90422

    11/14/2022, 3:05 PM
    heh. honestly there's a lot of merit in that vs frameworks that force a rewrite every release cycle or go dormant after a few years, then good luck maintaining it yourself with the brittle npm ecosystem. On the other hand we've got solid foundations here.
  • t

    tall-dinner-62086

    11/14/2022, 3:06 PM
    Enjoy this brief period of relatively low adoption rates. Supporting everything forever becomes much harder when you have a thousand people pestering you every day
  • r

    refined-waiter-90422

    11/14/2022, 3:09 PM
    Eh, htmx has zero dependencies and is tiny enough it could easily be internally maintained if something happens to 1cg. It's the priceless benefit to not over-engineering everything.
  • m

    mysterious-toddler-20573

    11/14/2022, 3:09 PM
    JOKES ON YOU I PLAN ON ALIENATING EVERYONE
  • r

    refined-waiter-90422

    11/14/2022, 3:15 PM
    that said, I hope carson and the doges are around for a good long time. heh.
  • m

    mysterious-toddler-20573

    11/14/2022, 4:04 PM
    legitimately trying to add to the conversation: https://twitter.com/htmx_org/status/1592183560001421312
  • g

    gorgeous-airport-54386

    11/14/2022, 4:05 PM
    you've fallen into the sneaky rhetorical trap of assuming what elon said not only means something, but is also accurate to what's actually happening in the company
  • l

    late-king-98305

    11/14/2022, 4:55 PM
    One of the working theories of a host (Adam Curry) on a podcast I regularly consume (No Agenda) is that all the complaining about shadowbanning, follower counts, etc. all stem from the simple cause that Twitter's infrastructure can't handle the volume of data that's been thrown at it. 1k API calls to hit the homepage would lead me to believe that he's more correct there than even he intended!
  • g

    gorgeous-airport-54386

    11/14/2022, 4:57 PM
    presented fwiw without judgement
  • m

    mysterious-toddler-20573

    11/14/2022, 5:19 PM
    never let an information-free tweet go to waste (when it presents an opportunity to be a complete and utter bore about hypermedia, so you can alienate everyone)
  • r

    rhythmic-hydrogen-92496

    11/14/2022, 5:38 PM
    My name is also Carson, but I only have cats. ...little dirt software...
  • f

    freezing-waitress-26396

    11/14/2022, 5:42 PM
    ☝️
  • s

    salmon-oil-67352

    11/14/2022, 9:55 PM
    Does "hx-boost" links scroll to "hx-target"? I have created a homepage (hx-boost="true" on body), but when I click on that link the page scrolls to #main_content, in the same way as normal "{url}#section-3" links work, is this normal behaviour? How to stop it? Thanks
  • s

    salmon-oil-67352

    11/14/2022, 10:16 PM
    I did some digging and found that boosted link scroll to the top, but they scroll to the top of hx-target="#main_content"
  • h

    hundreds-cartoon-20446

    11/14/2022, 10:23 PM
    You can specify the element to scroll to with hx-swap, e.g.
    hx-boost="true" hx-swap="innerHTML show:#another-div:top"
    .
  • s

    salmon-oil-67352

    11/14/2022, 10:49 PM
    Thanks croxton, i had a navbar with "position-fixed" css attribute. And the main_content was rendered behind the navbar with "margin-top:75px;" to make it look seamless. But it was giving some issues with the htmx scroll. (the main_content would scroll all the way to the top, behind the navbar, not respecting the 75px margin). I removed the fixed navbar, and 75px margin-top, and now everything renders good. Thanks
  • m

    mysterious-toddler-20573

    11/14/2022, 10:56 PM
    https://twitter.com/htmx_org/status/1592289988607381507
  • h

    hundreds-cartoon-20446

    11/14/2022, 11:16 PM
    @salmon-oil-67352 You could keep the fixed navbar if you did something like this:
    Copy code
    :root {
       —navbarHeight: 75px;
    }
    
    #main_content {
      padding-top: calc( var(--navbarHeight) - 1px);
    }
    
    #main_content > div {
      margin-top: calc( 0px - var(--navbarHeight) - 1px);
    }
  • h

    hundreds-camera-24900

    11/14/2022, 11:16 PM
    https://twitter.com/jasoncwarner/status/1592227285024636928
  • h

    hundreds-camera-24900

    11/14/2022, 11:19 PM
    I like the way he structures that and although he doesn't make this argument, it's a good framework to say Monolith + Apps are prime hypermedia candidates
  • m

    miniature-lizard-24702

    11/14/2022, 11:22 PM
    modular monolith
  • t

    thankful-apartment-66679

    11/15/2022, 12:44 AM
    “Modular Monolith”
  • t

    thankful-apartment-66679

    11/15/2022, 12:44 AM
    Can you talk more about what that looks like?
  • t

    thankful-apartment-66679

    11/15/2022, 12:44 AM
    With maybe an example
  • j

    jolly-kite-167

    11/15/2022, 1:06 AM
    Voltron.
  • m

    mysterious-toddler-20573

    11/15/2022, 1:11 AM
    \> If you are reading this at a 5-50 person company...just stick with a monolith. Trust me
1...905906907...1146Latest