Vue Components as Custom Elements with Vue 3.2

August 13, 2021 By Mark Otto Off

Vue 3.2 Released — Some new features for single file components, significant perf improvements, and it’s now easy to define native custom elements with defineCustomElement (learn more about this in Vue Components as Custom Elements – this could be a big deal for many).

Evan You

‘JavaScript Needs More Helper Functions for Iteration’ — Many languages have a plethora of functions or methods for iteration, but many of JavaScript’s options came late and scoped to particular data types (such as Array’s new methods in ES6) and Axel thinks we need to go a lot further while comparing a variety of approaches.

Dr. Axel Rauschmayer

V8 Release v9.3 — Recent V8 releases have been reasonably lean on new features, and so it goes with 9.3 which mostly gets faster compilation, Object.hasOwn (an alias for Object.prototype.hasOwnProperty.call), and the ability to attach error ‘causes’ to Error instances. It’s in beta until Chrome 93 (due in the coming weeks) and will appear in Node.js soon too.

Ingvar Stepanyan

Next.js 11.1 Released — The popular React framework takes a few steps forward with experimental ES modules support, a new integration with swc to ultimately replace JS tooling (Babel and Terser), faster data mapping and source maps, and more.

Vercel

QUICK BITS:
RELEASES:

Node.js 16.6.2, 14.17.5, and 12.22.5
Solid 1.1.0 – A declarative UI library worth investigating.
ws 8.1.0 – Node WebSocket client and server library.
octokit.js 1.4.0 – GitHub SDK for Node, browsers and Deno.
React Date Picker 4.2 – Simple date-picker component (demo).
Ember.js 3.28.0 – The long standing framework.
react-markdown 7.0 – Markdown component for React.
Aurelia 2 Alpha 16

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

📖 Articles, Opinions & Tutorials

Making a Web Worker Optional — A generic approach to make the creation of an extra Web Worker optional when one isn’t strictly needed.

Tobias Uhlig

▶  Learning MongoDB by Building a Project — This was a livestream so is slow paced but it’s also thorough and real and a nice look at how real developers approach building apps using Node, Next.js, and MongoDB’s hosted Atlas service.

Florin Pop and Jesse Hall

🛠 Code & Tools

Deno 1.13 Released — The ‘server-side runtime that isn’t Node’ (but comes from the same initial creator!) has received a release with a ton of small enhancements, including its native HTTP server API going stable, language server improvements, more TLS customization options, and integrating V8 9.3.

The Deno Team