#578 — February 25, 2022 |
JavaScript Weekly |
What Are Wrapper Objects for JavaScript's Primitive Values? — Dr. Axel talks about how primitive types like boolean and string have associated wrapper classes (e.g. Boolean and String) and demonstrates the value (pun not originally intended!) they provide. Dr. Axel Rauschmayer |
How to Read the ECMAScript Specification — Each time there’s a new ECMAScript spec we link to it - such as this draft ES2022 spec.. but who reads such a complex and intimidating document? This is a neat dig into how the spec ticks formatting wise and why the spec is worth a skim at the least. Timothy Gu |
Learn the Fundamentals of Rx.js — This useful JavaScript library is great for managing events that happen over time, and in this detailed video course Steve Kinney covers what you need to know to make use of it — including observables, events, intervals, timers, operators, and more. Frontend Masters sponsor |
📄 PDF: From JavaScript to Rust: A Book — A book that attempts to map common JavaScript workflows to the Rust ecosystem, if you’ve been keen to pick up the increasingly popular systems language. There’s also a GitHub repo with the source for the book. Jarrod Overson |
Cheerp 2.7: Compile C++ to WebAssembly and JavaScript — The latest version of a unique tool (built upon the Carlo Piovesan |
IN BRIEF:
RELEASES: Playwright 1.19 – Browser automation library. |
|
📒 Articles & Tutorials |
How to Reliably Send an HTTP Request on Leaving a Page — Browsers don’t guarantee to preserve open HTTP requests when changing pages but there are some mitigations or alternative approaches (e.g. beacons). Alex MacArthur |
How To Develop a Text Editor for the Web — The engineer at a company building a browser-based design tool reflects on some of the technical issues of producing a reliable text entry widget. Ilya Medvedev |
3k+ Devs Completed the State of Frontend 2022 - It's Your Turn — 3k devs and counting - we need you too! Take 8 minutes click through the survey, and catch the outcome soon. The Software House sponsor |
Future JavaScript: A Look at Records and Tuples — Two years ago we mentioned the record and tuples proposal (two new deeply immutable primitive types for JS) had reached stage 2 at TC39. It’s still there.. but a polyfill brings them to Babel users. Johnny Simpson |
You Can Ben Nadel |
▶ What is Responsible JavaScript? — The author of Responsible JavaScript talks about topics like responsible data usage, user experience, backwards compatibility, etc. (55 minutes.) Smashing Magazine Podcast podcast |
How to Make a Data Dashboard with React Native InfluxData sponsor |
How to Use Dmitri Pavlutin |
Optimizing Third-Party Script Loading in Next.js |
▶ 10 Things You Should Know About Lodash in 3 Minutes |
Comparing Gatsby and Next.js |
Implementing the Game of Life with React, Hooks and Chakra-UI |
🛠 Code & Tools |
Screenshot: No-Dependency Browser-Native Screenshot Library — Uses the MediaDevices API but provides an easier to use abstract for letting users take screenshots. GitHub repo. Tejas Kumar |
Introducing FormKit: A Vue 3 Form Building Framework — A complete form building framework inspired by earlier work on Vue Formulate. GitHub repo. Justin Schroeder |
Stylo: An Open Source WYSIWYG Rich Text Editor for JavaScript — Lightweight, no dependencies, and you can configure the default toolbar to suit your app's specific needs. David Dal Busco |
More Cloud for Less Money — Vultr offers developers Cloud Compute instances as low as $2.50 per month. Try Vultr for 14 days with this free credit. Vultr sponsor |
Beam: Node.js-Powered and GitHub-Inspired Message Board for Teams — Beam is a message board inspired by a similar proprietary system used for team communication at GitHub. GitHub repo. PlanetScale |
Stockfish.js: A Chess Engine — Stockfish is a popular chess engine usually written in C++ but this project brings it into JS contexts by way of WebAssembly. Nathan Rugg |
😆 Elevator.js: An Old Fashioned 'Scroll to Top' Button — Just a bit of fun. |
enum-xyz: JavaScript Enums using Proxies — Fun little reader-submitted idea. |