InfoQ Homepage JavaScript Content on InfoQ
-
Svelte Furthers Enterprise Readiness with SvelteKit General Availability and Svelte 4 Roadmap
Svelte, consistently voted the Web framework with the highest retention among the top 4 frameworks (next to React, Angular, and Vue), furthers enterprise readiness with SvelteKit's general availability, a new interactive documentation site, and the Svelte 4 roadmap.
-
Deno Improves Node.js Support: Built-in Modules, package.json, Dynamic Import and Worker Compilation
Recent releases of Deno (1.30, 1.31, and 1.32) make it easier for Node.js developers to transition to Deno projects. Deno 1.30 improves support for Node built-in modules and import maps. Deno 1.31 adds package.json support and includes the Node compatibility layer into the Deno runtime. Deno 1.32 adds deno compile support for web workers and dynamic imports.
-
Import Maps, Now Available in All Browsers, Improves Module Resolution in JavaScript
With Safari 16.4 recently adding support for import maps, JavaScript developers can now use import maps in all modern browsers. Older browsers can use a polyfill. Import maps bring better module resolution for JavaScript applications.
-
New Rust-Based Web Bundler Rspack Touts up to 10X Speed Improvement over Webpack
Chinese internet technology company Bytedance and Valor Software recently open-sourced Rspack, a web bundler written in Rust that aims to be a fast, drop-in replacement for Webpack. Some early benchmarks show 10x improvement in cold start time.
-
Web Framework Astro Now Features Static, Server, and Hybrid Rendering for Faster Web Sites
HTML-first web framework Astro recently released Astro 2.0 and complements previously available static and dynamic server rendering with new hybrid rendering capabilities. Hybrid rendering allows prerendering specific pages for faster performance.
-
TypeScript 5 GA Extends Decorators, Stabilizes New Module Resolution Option, and More
After announcing TypeScript 5.0 Beta three months ago, TypeScript 5 has finally reached general availability. Among the most relevant changes are extended support for decorators to enable their placement before or after export and export defaults, the new bundler module resolution option, and more.
-
Announcing TypeScript 5.0 Beta
Microsoft has released the TypeScript 5.0 beta version, which aims to simplify, speed up and reduce the size of TypeScript. The beta release incorporates new decorators standards that enable users to customize classes and their members in a reusable manner. It also allows developers to write cleaner and more maintainable code.
-
Signia: New JavaScript Incremental Computing Library Delivers Better UX for Single-Page Apps
The team behind the collaborative whiteboard tldraw recently published a library that brings incremental computing to JavaScript. Signia seeks to overcome fundamental performance limitations of tldraw’s chosen UI and reactive framework and ultimately provide better interactive apps with better user experience. Signia can however be used standalone or in conjunction with any UI framework.
-
Migrating From Enzyme to React Testing Library - Sentry Case Study
The Sentry engineering team recently recounted on its blog the drivers and lessons learned from migrating its front-end tests code from Enzyme to the React Testing Library. The migration was triggered by Enzyme’s lack of support for newer versions of React. The migration took about 20 months and involved 17 engineers reviewing around 5,000 tests.
-
AI-Based Code-Completion Tool Tabnine Now Offers Automatic Unit Test Generation
One of the pioneers in the field, Tabnine is a code completion assistant that uses generative AI to predict and suggest the next lines of code based on its surrounding context. Tabnine is now opening beta access to new capabilities aimed at generating unit tests.
-
Malicious PyPI Package Removes netstat, Tampers with SSH Config
A recent report by Sonatype security researcher Ax Sharma highlights newly discovered malicious packages on the PyPI registry, including aptx, which can install the Meterpreter trojan disguised as pip, delete the netstat system utility, and tamper with SSH authorized_keys file.
-
Software Security Report Finds JavaScript Applications Have Fewer Flaws Than Java and .NET
Veracode's State of Software Security report for 2023 found that there is a 27% chance within a given month that security flaws will be introduced into an application. The report also found that JavaScript applications on average have fewer flaws and faster flaw resolution than Java and .NET applications.
-
Vercel Launches Edge Functions to Provide Compute at the Edge
Recently, Vercel announced the general availability of Edge Functions, which are either JavaScript, TypeScript, or WebAssembly functions. According to the company, these functions are generally both less expensive and faster than traditional Serverless Functions.
-
Vite 4 Released, Replaces Babel with Faster Rust-Based SWC
The team behind the Vite frontend build tool recently released Vite 4.0, 5 months after Vite 3.0. The new version is motivated by the breaking upgrade from Rollup 2.0 to 3.0. Vite 4.0 also adds support for SWC, a Rust-based bundler that claims order-or-magnitude speed improvement over Babel.
-
Enhance, SSR for Web Components - Brian Leroux at QCon San Francisco 2022
Brian Leroux, CTO at Begin, recently introduced Enhance, a new HTML framework, at QCon San Francisco. Enhance heavily lies on web standards and progressive enhancement for future-proof web applications. Enhance provides file-based routing, reusable Custom Elements, a customizable utility CSS system, and mapped API data routes that get deployed to isolated, single-purpose cloud functions.