I have been using React for X years and decided to take a peek at what is happening in the AngularJS world which becomes "Angular" now, and oh boy, it evolves a lot. The patterns, decorators, routes, services. It was excellent! I’m impressed.
I recently purchased this item. For $15 bucks it changed the way I work at night. I can comfortably code in my bed without hurting my back, I simply lean on the pillow and use this as my lap desk. Simply worth it for coders.
Managed @MongoDB has arrived! 🥳
💙 Create MongoDB databases starting at $15/month
🗓️ Automatic daily backups with point in time recovery
✅ High availability with automated failover
👍 Automatic updates & access to latest MongoDB releases
🔗 https://t.co/wR06fVyRGl
@guettli I remember a tweet from @levelsio long time back. So he built remoteOk and Nomad list with just a single PHP file and just jQuery, and run it on Linode VPS. And his app is making boat load of 💰, here are his tweets
https://t.co/lu8Cbz4dqt https://t.co/zwl4YcWvLq
@guettli@htmx_org I did this, now it works.
//success
res.setHeader('hx-redirect', `/quiz/${slug}/design`);
res.setHeader('hx-refresh', false);
res.status(200);
res.end();
btw, so the redirect behaviour is doing a full page reload? how can I replicate the hx-boost behaviour?
@guettli@htmx_org Yea htmx is a fantastic library, but some attributes in the doc, don’t have examples on how to implement them, for example i am trying to use hx-redirect, but no luck. It just says that i need to set it as a response header at the backend, then what to do after that? And so on..
@htmx_org Yea if we can have a css based progress bar for every navigation (out of the box) just like what turbolink does, that would be awesome. Anyway turbolink is dead. No longer under active development.
hey guys @sreyansjain@dakinin, you gave me an idea, so I explored the documentation of HTMX and found out that I can totally remove Turbolink and replace it with
"hx-boost" attribute of HTMX. This is so good.🚀
I guess I can now totally remove the small script that I send over the wire when sending server-rendered HTML to HTMX because Alpinejs solves the interaction problem. So AlpineJS, HTMX, Turbolink, and ExpressJS combo. Feels like web development in the 2000s but with steroids. 👊
@dakinin I used it when navigating pages on my project, so Turbolinks automatically fetches the page, swaps in its <body>, and merges its <head>, it just works out of the box. So maybe I am missing something on HTMX documentation that can also provide this capability?