tall-dinner-62086
02/21/2023, 1:34 PMstocky-dentist-80693
02/21/2023, 1:35 PMtall-dinner-62086
02/21/2023, 1:35 PMstocky-dentist-80693
02/21/2023, 1:41 PMtall-dinner-62086
02/21/2023, 1:42 PMstocky-dentist-80693
02/21/2023, 1:44 PMtall-dinner-62086
02/21/2023, 1:45 PMmysterious-car-3675
02/21/2023, 2:20 PMmysterious-toddler-20573
02/21/2023, 2:28 PMmysterious-car-3675
02/21/2023, 2:32 PMwhite-rocket-20067
02/21/2023, 2:44 PMmysterious-toddler-20573
02/21/2023, 2:47 PMmysterious-toddler-20573
02/21/2023, 2:49 PMsome-airline-73512
02/21/2023, 2:51 PMmysterious-car-3675
02/21/2023, 2:56 PMmysterious-car-3675
02/21/2023, 2:58 PMrefined-waiter-90422
02/21/2023, 3:04 PMrefined-waiter-90422
02/21/2023, 3:10 PMmysterious-car-3675
02/21/2023, 3:20 PMpnpm i && pnpm dev
done and up in milliseconds.
3. Tests. Right now htmx is low on test and if it works who cares. But if you want more extensions know you integrated correctly has major benefit.
4. It just works, compared to webpack its so much simpler. Plus you have very easy dev mode with server and library mode to output UMD/ESM/CJS etc with sourcemaps, .d.ts in all the combinations.
Again if the team is tight the don't consider, if you are moving to plugin/extension model its a logical progression. I think the real problem is its a sea change. Either you do it or you don't. For me its not really a tech debt but a let the tools do the work it's good at. I generally see vite+ts make projects smaller and simplier, not more complicated. I deal in legacy DoD world so see some pretty crazy browserify/grunt/gulp/webpack stuff.ripe-action-67367
02/21/2023, 3:30 PMnpm run dev
is neat, but with htmx as it is you can just include it on the page in a script tag and it will work.
Now, whether htmx should switch to TS is a very different question. I am, personally, not opposed to this change, as there were bugs that could be caught by the type checker, but there are many opinions in this regard.
Respectfully, I disagree with point 3. htmx has quite extensive test suite, and I'm not sure what do you mean by "low on test".mysterious-car-3675
02/21/2023, 3:32 PMripe-action-67367
02/21/2023, 3:32 PMenough-petabyte-50314
02/21/2023, 3:32 PMenough-petabyte-50314
02/21/2023, 3:33 PM"dist": "cp -r src/* dist/ && npm run-script uglify && gzip -9 -k -f dist/htmx.min.js > dist/htmx.min.js.gz && exit",
mysterious-car-3675
02/21/2023, 3:35 PMmysterious-car-3675
02/21/2023, 3:36 PMmysterious-car-3675
02/21/2023, 3:39 PMenough-petabyte-50314
02/21/2023, 3:40 PMripe-action-67367
02/21/2023, 3:41 PMmysterious-car-3675
02/21/2023, 3:42 PM