Alpine.js Reactive HTML attribute binding - Code with Hugo - Jul 28th 2020
Welcome to the 86th Edition of the Code with Hugo newsletter about JavaScript, Node.js & Enterprise patterns.
Here are 3 links I think are worth your time this week,
-
“Alpine.js in-depth: reactive HTML attribute binding with x-bind” We’ve seen how to print out values using x-text and toggle visibility of elements based on them with x-show. Here’s how to bind to HTML attributes (3 min read) : https://codewithhugo.com/alpinejs-x-bind/
-
The future of the hapi project #4113 - Eran Hammer recently announced he was stepping back from the Hapi project, this is the issue in which the way forward is explained (2 min read): https://github.com/hapijs/hapi/issues/4113
-
Kubernetes Liveness and Readiness Probes: How to Avoid Shooting Yourself in the Foot (15 min read): https://blog.colinbreck.com/kubernetes-liveness-and-readiness-probes-how-to-avoid-shooting-yourself-in-the-foot/
An old but still true post by @Swizec
People didn’t open your email or click your blog? Good. Means you can send again and no-one will notice.
— Swizec Teller (@Swizec) November 29, 2019
What I’m watching: tailwindcss/typography, (https://github.com/tailwindcss/typography) - A plugin that provides a set of prose classes you can use to add beautiful typographic defaults to any vanilla HTML you don’t control (like HTML rendered from Markdown, or pulled from a CMS).
That’s all for this week, stay tuned for more JavaScript tips to help you get stuff done.
Hugo