JS1024 2022 Competition Winners— JS1024 is an annual ‘code golfing’ contest where you get 15 days to create a cool JavaScript or GLSL program within 1024 bytes. Naturally this brings out a lot of creativity and trickery, but also amazing (non-minified) source to check out. The winning JS entry is this quirky typing game and the winner shader is a sinister 3D tunnel experience. There’s a lot to look through and learn from because these developers are using every trick in the book, including compressing 1900+ English words into one of the entries..!
JS1024
Docusaurus 2.0 Released— Docusaurus powered sites are everywhere in the JS space lately (look at the Babel docs, for example), and after four years of effort, version 2.0 of the popular React-powered documentation-focused static site generator has landed. This new version was rebuilt from scratch, and adds MDX support, a new plugin system, theming, dark mode, SPA navigation, offline support, and more.
Announcing EdgeDB 2.0— Try the database that makes ORMs obsolete. EdgeDB’s TypeScript client has the simplicity of an ORM but the power of a full-fledged query language. And with the release of EdgeDB 2.0 it’s better than ever—read the announcement for details.
🔎 npm query is a new command in the latest version of npm that lets you query your project's dependencies using a CSS-like selector format.
Remember the guy who built JavaScript games using Microsoft Excel and PowerPoint as a canvas? He's back building ▶️ a multiplayer game in Word. Just 3-minutes and wonderfully wacky.
If you use AWS's Lambda serverless platform for running your functions and you use it a lot, their new tiered pricing structure may yield some big savings.
RELEASES:
Parcel 2.7 Ionic 6.2– Cross-platform app building toolkit. Redwood 2.2– React-backed full-stack framework. Cypress 10.4– Popular testing approach for anything browser-based. Ohm 16.4– Parser / interpreter building toolkit.
Checking if Native JavaScript Functions are 'Monkey Patched'— Along with JavaScript’s dynamism comes the potential for functions to be overridden (or ‘monkey patched’, as some people call the idea of runtime modifications) but there are (imperfect) ways to see if this has occurred.
Matteo Mazzarolo
On Building Modern Webapps Faster with Bud— Bud (no, not Bun) is a relatively new Go(lang) and JavaScript powered full-stack web framework with a lot of good ideas – ▶️ this 15-minute video on creating a Hacker News clone with it is a fun demo. If Go works for you on the backend, it's worth a look.
From 500ms to 1.7ms in React— A sluggish customized grid triggered a journey to analyze some bottlenecks, followed by some tweaks resulting in a dramatic perf improvement.
safe-json-value: For When JSON Serialization Mustn't Fail— Prevents JSON.serialize() from throwing an exeception, changing types, or otherwise transforming values unexpectedly, because sometimes you need that sort of reassurance.
Nativefier: Make Any Web Page a Desktop App— A basic Node.js-powered tool for creating a desktop ‘app’ for any Web site using Electron as the webview. For Windows, macOS and Linux.
Goh Jia Hao
ts-version: Access the Current TypeScript Version from Types— The creator puts it best: “Frustrated how TS versions handle your package slightly differently, but don’t want to ship a full copy of your types with TypesVersions? Now you can adjust your types depending on the TS version!”
Find JavaScript Jobs with Hired— Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers.
Hired