TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Htmx 2.0.0 has been released

500 点作者 lsferreira4211 个月前

19 条评论

simonbarker8711 个月前
One of the happiest days of coding in the last 10 years for me happened in September last year when I added htmx to an internal self serve web app I develop for our company. With the addition of maybe 5 htmx attributes I was able to delete about 500 lines of client side JS.<p>The app is now chock full of htmx interactions and has very little client side JS for the size of the app and it’s a joy to work on.<p>Without htmx I would not be able to turn around features as quickly as I do for the wider team so thank you, thank you, thank you.<p>I’ve been in web dev for 20 years and this feels like what we should have made all along.<p>The one area I would like to see some development is the file upload experience, I’ve had to do something a bit weird to get htmx and dropzone playing nice.
评论 #40718386 未加载
评论 #40711345 未加载
评论 #40782845 未加载
recursivedoubts11 个月前
hey folks, i&#x27;m the creator of htmx<p>this isn&#x27;t much of a feature upgrade, but we took the opportunity to clean up a few things and drop IE support, which will help us slim down the library over time<p>hopefully it&#x27;s an easy upgrade for most htmx users, upgrade guide is here:<p><a href="https:&#x2F;&#x2F;htmx.org&#x2F;migration-guide-htmx-1&#x2F;" rel="nofollow">https:&#x2F;&#x2F;htmx.org&#x2F;migration-guide-htmx-1&#x2F;</a><p>happy to answer any questions
评论 #40710107 未加载
评论 #40712244 未加载
评论 #40710044 未加载
评论 #40710024 未加载
评论 #40709966 未加载
评论 #40711466 未加载
评论 #40710588 未加载
评论 #40834526 未加载
评论 #40711334 未加载
评论 #40709932 未加载
评论 #40710365 未加载
评论 #40710232 未加载
评论 #40710249 未加载
评论 #40710524 未加载
评论 #40718443 未加载
评论 #40710778 未加载
评论 #40710215 未加载
评论 #40714660 未加载
评论 #40710615 未加载
Devasta11 个月前
HTMX is like a glimpse into the road not taken, where HTML is the main language of the web instead of JS. Sometimes the grass really is greener on the other side, and I hope as an industry we make the switch.
评论 #40710408 未加载
评论 #40710245 未加载
评论 #40715226 未加载
kyrra11 个月前
I thought the 2.0.0 release was a bit of a joke from the BigSkyDev conference, as he was doing stuff like this:<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;htmx_org&#x2F;status&#x2F;1799661735781261592" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;htmx_org&#x2F;status&#x2F;1799661735781261592</a><p>There&#x27;s even some sweet ascii art on the disk: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;jcs224&#x2F;status&#x2F;1799586838161621339" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;jcs224&#x2F;status&#x2F;1799586838161621339</a><p>Great to see the continued love of this framework. (don&#x27;t throw anything at me)
评论 #40710410 未加载
recursivedoubts11 个月前
@dang, i know there is an htmx filter on HN due to so many posts, but it&#x27;d be nice if this one could go to the top, it&#x27;s a major release
评论 #40711245 未加载
wruza11 个月前
Htmx users, can you please share your backend stacks and approaches? Me specifically interested in templaters for node (+ts) and your thoughts on endpoint management, but all ideas are welcome I guess.
评论 #40711966 未加载
评论 #40711454 未加载
评论 #40713863 未加载
评论 #40713154 未加载
评论 #40717757 未加载
评论 #40713281 未加载
评论 #40714538 未加载
评论 #40712579 未加载
评论 #40714820 未加载
评论 #40711273 未加载
评论 #40754954 未加载
评论 #40711140 未加载
评论 #40712512 未加载
RobotCoder11 个月前
My hot take: We initially used this library to allow us to iterate faster. But its is a pain once you reach a certain point, where it doesn&#x27;t make sense to have this type of logic in HTML. I especially don&#x27;t like how this library does error handling. I feel like this is the new jQuery. There is better way to represent interaction logic with open JS standards like Web Components.
评论 #40834415 未加载
jph0011 个月前
I just want to take advantage of this news to say: I love HTMX so much! :D It makes web development fun again. I can still use all the fancy js libs I want -- but my main logic lives on the server, using plain HTTP and HTML. Really clear and simple.
jerrygenser11 个月前
Love the upgrade music. Wish more libraries would add upgrade music with major releases
评论 #40710350 未加载
jononor11 个月前
Has anyone here used htmx for embedded devices? That is to provide web UI served by the device, for configuration &#x2F; data access &#x2F; control? Can you share the experience and if you would use it again?
ctxcode11 个月前
i havent used htmx yet, but it sounds like a breath of fresh air. no npm library with 1000 dependencies with slow build times. just plain simple js library like the good old days ^_^
mikemitchelldev11 个月前
React&#x27;s had such dominance for the last 10 years. I&#x27;m glad there&#x27;s an alternative.
评论 #40719342 未加载
fghfgh65h511 个月前
HTMX + static site generators is DOPE. If we had just these two things back in the 90&#x27;s...
评论 #40710748 未加载
评论 #40710538 未加载
bradgessler11 个月前
Anybody know if there’s something like HTMX that plugs into Turbo? Every time I start using a stimulus controller, I have the thought that it should be more like HTMX instead.
gedw9911 个月前
Well done<p><a href="https:&#x2F;&#x2F;extensions.htmx.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;extensions.htmx.org&#x2F;</a> Has a big where the “no-load” extension is listed twice
xakpc11 个月前
as htmx CEO I approve this message
digitalsin11 个月前
It has already been pirated by various groups and made available for download assuming you have the bandwidth. Unbelievable. Big Sky has to make money somewhere.
评论 #40711268 未加载
xakpc11 个月前
htmx works great with dotnet btw (wrote a series on that)
评论 #40719246 未加载
Ayesh11 个月前
I knew about Htmx and that HN loves it. But this post is what I actually got to take a good look, and oh my god it felt like such a fresh breath!<p>We have a few jQuery-era websites (that still work today because why not), and Htmx could be where we trim hundreds of lines.