Plus the weirdest way to define a range, a way to test your == knowledge, and Node's new test runner. |
The JavaScript Equality Table Game — Minesweeper will feel like a walk in the park after this reminder of the horrors of JavaScript’s ==. If you need to go in depth, Section 7.2.14 of the ECMAScript spec will help, but otherwise? Stick to three equals (===) unless you have a good reason not to. Reinis Ivanovs |
htmx 1.9 Released — htmx (homepage) is an increasingly popular library outside of the JavaScript space as it lets folks use things like WebSockets, SSE, AJAX, and CSS transitions by marking up HTML rather than writing lots of JavaScript. v1.9 adds support for view transitions and generalized inline event handling. The code examples are worth a look – htmx makes a lot possible, with rather little tooling or markup needed. htmx team |
IN BRIEF: ▶️ Angular is back with a vengeance, says Fireship. Serverless platform AWS Lambda has introduced response streaming on its JS runtime (for now) so you can send response data as it becomes available rather than all at once. (→ Via Serverless Status) /[]/ A look at a seemingly JS-specific quirk in regular expressions when empty character classes are used. An analysis of languages used in GitHub pull requests shows JavaScript/TypeScript leading the way with Python just slightly behind. The comments went in lots of odd directions here. Seven folks at Vue Amsterdam 2023 shared their ▶️ tips on getting started with Vue.js. ▶️ An hour-long chat on the State of Node.js with some leading figures. Node v18.16.0 (LTS) has been released with backported support for compiling JavaScript code into a single executable app. Node 19's Ada URL parser also appears. A striking visual introduction to React and its fundamental concepts. |
RELEASES: Node.js v19.9 (Current) Puppeteer v19.9 – It's the week for almost 20s. pnpm 8.2 – Efficient npm alternative. Redwood 4.5 – Popular app framework. Storybook 7.0 – With an official release post this time. |
Ranger: Use a Range-Like Syntax for Anything? — const numbers = 1[[...8]], anyone? This is a neat trick for a bit of syntatic sugar, but I’m not sure it would pass the sniff test for most teams. You might find the implementation interesting to check out though. Long may this sort of experimentation continue. Jon Randy |
💡 A proposal for JavaScript to get built-in range support is at stage 2. |
📅 Build and Deploy ‘23: May 3rd - Save the Date! — The ultimate CI/CD virtual conference - best practices and end-user success stories from DevOps experts. Plus, a keynote from Emily Freeman, author of DevOps for Dummies. Codefresh |
Trying Node's Built-In Test Runner — In 2022, Node gained an experimental built-in test runner (node:test). It’s going to become stable in the forthcoming Node v20, so it’s a good time to look at how it works and how it compares to other solutions you might already be using. Gleb Bahmutov |
Reveal.js 4.5: An HTML Presentation Framework — Brings elegant presentations to anyone with a Web browser. v4.5 was just released with support for jumping to specific slides, a few new themes, and with live reload working with files in subfolders. Hakim El Hattab |
Minimatch 9.0 ↳ Glob matcher library. minimatch("bar.foo", "*.foo") hls.js 1.4 ↳ Play HLS in browsers with support for MSE. Partytown 0.8 ↳ Relocate third-party scripts off the main thread. Plasmo 0.68 ↳ "It's like Next.js for browser extensions" Obsidian 8.0 – GraphQL, built for Deno. MUI X 6.1 – React component suite. TestCafe 2.5 – Automate end-to-end web testing. Maquette 3.6 – Lightweight virtual DOM library. Venom 5.0 – WhatsApp bot library. |
Find JavaScript Jobs with Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now. Hired |
🧑💻 Got a job listing to share? Here's how. |
| |