#613 — November 4, 2022 |
|
JavaScript Weekly |
What is a 'Realm' in JavaScript? — One of those things you don’t need to know, but that will flesh out your understanding of JS under the hood. A realm is essentially the complete execution environment for a JavaScript program. Gal Weizman |
Then if you really want to go down the rabbit hole, enter the ShadowRealm with Dr. Axel.. |
Is Turbopack Really 10x Faster Than Vite? — Last week’s big news was the unveiling of Turbopack, a Rust-based ‘successor’ to Webpack that boasts significantly performance improvements. Vue and Vite’s Evan You decided to run some benchmarks and ended up pretty deep down the rabbit hole. Evan You |
Open-Source Firebase Alternative for Web, Mobile & Flutter Devs — Appwrite is a secure, self-hosted solution that provides developers with a set of easy-to-use REST APIs to manage their core backend needs. You can build anything with Appwrite! Click here to learn more. Appwrite sponsor |
Shopify Acquires the Remix Project — A mere year after being open sourced, Remix, an exciting full stack Web framework and its associated company, has been acquired by e-commerce giant Shopify. Dion explains why here, but if you’d prefer a ▶️ snappy two-minute video overview then Fireship has it covered. Dion Almaer (Shopify) |
Announcing TypeScript 4.9 RC — A long awaited release gets a big step closer. Daniel Rosenwasser |
IN BRIEF:
|
RELEASES:
|
📒 Articles & Tutorials |
How to Build, Test, and Publish a TypeScript npm Package in 2022 — The bare basic steps in a short and sweet walkthrough. Ianis Triandafilov |
'Your Next.js Bundle Will Thank You' — If your Next.js app bundle sizes are bigger than you’d like, Renato’s advice is for you. Renato Pozzi |
Creating Human-Readable Date/Time Differences — There are libraries to get your “2 minutes ago”, “5 months ago” or “1 year ago” but did you know the Amit Merchant |
Build a Mobile-Responsive Telehealth Pager App Using Stream’s Chat API — Build a responsive chat app with emojis/reactions, built-in GIF support, ability to edit/delete messages, direct & group chat, and more. Stream sponsor |
Code Coverage with Storybook Test Runner — Coverage reports can show you how much of your code is actually reached in testing and help you find untested areas. Storybook's test runner now generates coverage reports to help with this and supports React, Preact, Svelte and Vue out of the box. Yann Braga (Storybook) |
How to Package and Distribute a Vue.js 3 Plugin on npm — Uses Vite to build things and Daniel Kelly |
Building an Accessible Tooltip Component — A well structured overview of how to build a color-adaptive and accessible Adam Argyle |
▶ Creating a Minecraft Clone with React and Three.js — (91 minutes.)
|
Running JavaScript in WebAssembly with WasmEdge — Why? Why not!
|
An Overview of JavaScript Promises
|
🛠 Code & Tools |
Vuestic UI 1.5: A UI Library for Vue 3 — A library of sixty customizable components. v1.5 is a big release boasting significantly improved accessibility, new tree, split view, dropdown and virtual scroll components, dark theming, and more. Official homepage. Epicmax |
Joi 17.7: Object Schema and Data Validations — Describe your data using a simple, fluent API and Joi can check if data you supply to it is up to scratch, e.g. Sideway Inc. |
Radar SDKs and APIs: Fastest Way to a Wide-Range of Location-Based Experiences — Flexible and affordable geocoding, search, and distance APIs with high-quality address and place data. Sign up today. Radar sponsor |
directory-serve: Serve a Local Directory Over HTTP, Quickly — This is neat. If you have Node and npm installed, run Cube-Root |
relative-time: An Element to Format a Timestamp as a Localized Relative Time — Supply this web component with a standard formatted date and time and it’ll render the right text to suit. GitHub |
Pinceau: A CSS-in-TypeScript Framework Built for Vue — Still early days but has the perk of seamless integration into Vue, and works with Nuxt, Vitesse, and Vite. Yaël Guilloux |
Markdoc 0.2: A Flexible, Markdown-Based Authoring Framework — An extension of Markdown but with extra features ideal for blog posts or docs. It’s used for Stripe’s public docs, but you can bring it into your own systems. GitHub repo. Stripe |
Shortcut Brings Product and Engineering Together. Try It for Free Shortcut (formerly Clubhouse.io) sponsor |
|
|
📗 We're also reading.. |
We've also had some tabs open that aren't JavaScript specific but you might find interesting anyway: Comparing TCP and QUIC by Geoff Huston. If HTTP/3, QUIC and UDP are buzzwords for you and you want to know what's going on under the hood, this is a good technical primer (HTTP/3 is basically HTTP mapped on top of QUIC, as opposed to HTTP 1 and HTTP/2 which use TCP). Advice That Actually Worked For Me by Nabeel Qureshi. A bit more thoughtful and universal than most advice posts. A Visual Studio 6.0 Nostalgia Trip by Wouter Groeneveld. I might be showing my age by enjoying this. Next stop.. Delphi! Or QBasic..? |