|
So, I'm learning typescript, and want to know if this is a sane way to define a class:TypeScript code:
Haystack fucked around with this message at 03:53 on Aug 30, 2023 |
# ¿ Aug 30, 2023 03:48 |
|
|
# ¿ Apr 29, 2024 13:18 |
|
Sorry nerds, HTMX means that the backend is the frontend now
|
# ¿ Oct 3, 2023 19:50 |
|
HTMX seems like it'd be a decent for, like, a Django/Rails/etc app that already has good serverside templating and minimal dynamic stuff on the frontend.
|
# ¿ Oct 3, 2023 20:21 |
|
The truth is in the middle: use tildes instead of carets
|
# ¿ Nov 3, 2023 22:22 |
|
HaB posted:Does anyone know why a <form> with method POST and a url will succeed while an XHR post of the same data to the same url does not? What's the server's response to your XHR request?
|
# ¿ Nov 17, 2023 15:54 |
|
HTMX seems fine for document-driven sorts of webpages that need some light UI elements,. However, it doesn't do any of the heavy state management and reactivity that modern javascript frameworks offer and will probably get in the way if you end up needing that down the line. That being said, gently caress learning modern javascript frameworks. I had to scratch-build a drop-in shopping cart as a Vue application, and holy gently caress is was that a lot of goddamn layers to learn and evaluate and configure. Just to bitch a bit, I had to:
|
# ¿ Dec 19, 2023 18:15 |
|
|
# ¿ Apr 29, 2024 13:18 |
|
Do your complied .js files have associated .map files? Eg, something like assets/appName-[content hash].js.map. Map files let you source code in the debugger for compiled file, as if it weren't compiled, letting you set breakpoints, loggers, etc.
|
# ¿ Feb 9, 2024 17:32 |