InfoQ Homepage JavaScript Content on InfoQ
-
New JavaScript Interop Improvements in .NET 7 RC 1
The release of .NET 7 RC 1 has introduced the new wasm-experimental workload and new JavaScript interop features that allow invoking of .NET code in JavaScript applications running on WebAssembly without using the Blazor UI component model. Until now, it was possible to use WebAssembly without the need for Blazor by leveraging the Mono WASM SDK, Uno.Wasm.Bootstrap library or the NativeAOT LLVM.
-
Cloudflare Open-Source Workerd Nanoservice Runtime Now in Beta
Recently open-sourced Cloudflare workerd is a new Web runtime for JavaScript/Wasm applications that shares most of its code with the runtime used by Cloudflare Workers. Workerd is based on standardized Web APIs and aims to enable a new approach to microservices removing their intrinsic latency, says Cloudflare.
-
Luxon - Better Date and Time Management in JavaScript
Luxon is a modern lightweight library for parsing, validating, manipulating, and formatting dates in JavaScript.
-
Preact Joins the Crowd and Bakes in Reactivity Primitives with New Signals API
The Preact JavaScript framework recently released Signals, a new set of reactive primitives for managing application state. Signals let developers associate parts of the user interface with state variables independently of the UI’s component tree. Alleged benefits of the extra 1.6KB: fast re-renders that are independent of the shape of the UI component tree and excellent developer ergonomics.
-
Facebook MemLab Helps Finding JavaScript Memory Leaks
While JavaScript runtimes use garbage collection to manage memory, this does not rule out the possibility of leaking memory. To detect all possible cases where memory is leaked, Facebook created and open-sourced MemLab, a tool able to run predefined, automatable test scenarios and analyze heapshot diffs.
-
The Road to Removing JQuery from Gov.uk
When the team that maintains the gov.uk website faced the issue of updating their old and outdated jQuery dependency, they decided instead to get rid of it altogether. Among other benefits, they achieved a not negligible performance improvement and, in the process, created a migration guide for other developers to tap into.
-
The Tao of Node: an Attempt to Formalise JS Development Patterns
Alex Kondov, principal engineer at News UK, reached the conclusion that Node’s focus on freedom and flexibility led to various approaches, many borrowed from other languages. As a trial to provide a more organic approach, he wrote the Tao Of Node as a set of development principles for an improved development experience. InfoQ reached out to him to find out more about these principles.
-
Slate 0.82 and Plate 15 Releases Improve Rich-Text Editing Experience
Slate 0.82.0 made significant updates for its support of editing on Android devices and introduces `useSlateSelection` and additionally adds a React hook that triggers whenever the selection changes. Plate 15 improves its Link toolbar, improves paste handling of hyperlinks into an editor page, and provides greater control over rendering within plugins.
-
TypeScript 4.7 and 4.8 Beta Releases Add ESM for Node.js and Better Type Inference
TypeScript 4.7 and 4.8 introduce ES Module (ESM) support for Node.js, improved type inference and control flow analysis, and significant performance improvements.
-
Partytown, Offloading 3RD Party Scripts to Web Workers
Partytown is a small JavaScript library that speeds up web application load times by helping developers to move third party scripts into web workers and off the main thread.
-
AWS Lambda Powertools for TypeScript Now Generally Available
Amazon recently announced the general availability (GA) of AWS Lambda Powertools TypeScript. The set of utilities for Node.js Lambda functions helps developers follow best practices for tracing, structured logging, and custom metrics.
-
Trivago’s Journey from PHP+Melody to Next.js and Typescript
Trivago’s platform was built using PHP and their Melody framework. A small number of engineers at Trivago maintained Melody, which was a continuity risk. Melody’s documentation and examples could not be as rich as desired due to a lack of capacity, making engineer onboarding and support much more difficult. Trivago then decided to rewrite its platform on Typescript using Next.js.
-
Angular 14 - Typed Forms and Standalone Components
Angular 14 was released earlier this month with the most significant update since Ivy. It includes two long-awaited features, Typed Reactive Forms and Standalone Components, as well as several minor improvements.
-
React 18, Introducing the Concurrent Renderer
React 18 is out and includes the long-awaited concurrent renderer, which enables React to offer several improvements, including the ability to interrupt the rendering process.
-
Minze, a Minimalistic JS Library for Creating Web Components
Minze is a modern JavaScript library that abstracts many of the difficulties of writing Web Components with a minimal overhead (2kb minified and compressed) and good developer ergonomics.