InfoQ Homepage JavaScript Content on InfoQ
-
Reactive Angular Library NgRx v10 Adds Component Local State Management Package
NgRx, a set of reactive extensions for Angular based on RxJS, shipped v10 with a new component store package for local state management. The new package complements the NgRx Store used for application-wide state management. A new, experimental NgRx Component package also supports developers in writing Angular Zoneless applications leveraging Angular Ivy capabilities for better performance.
-
Vest, a New Javascript Form Validation Framework
Vest is a new framework-agnostic form validation library that separates the validation logic from the feature logic while using a unit testing syntax style that is similar to Mocha and Jasmine.
-
Cypress 5.x Adds Test Retries and Shadow DOM Support
Cypress, a browser-based test runner and dashboard, recently introduced native support for test retries in the Cypress 5.0 release, helping developers avoid intermittent test failures. Other recent Cypress advances include networking stubbing and shadow DOM support.
-
NativeScript 7 Moves from ES5 to ES2017+
NativeScript 7 aligns with modern JavaScript standards by targeting es2017+. Additionally, it streamlines app configuration by consolidating it in a single file and replaces JavaScriptCore with V8 for iOS apps.
-
Jotai, a New Granular State Management Library for React
Paul Henschel recently released jōtai, a new state management library for React. Jōtai claims a minimalistic API (three functions), typescript-readiness, and compatibility with React Suspense and Concurrent Mode.
-
Import Maps - Guy Bedford at ESNEXT 2020
Guy Bedford, core contributor and creator of the dynamic module loader system.js, discussed the workflows enabled by import maps. In his talk at ESNEXT this year, Bedford took a historical view while introducing the motivation behind the import map proposal, and linked the feature with the package entry points used in the latest version of node.
-
Web Components at GitHub - Web Component SF Meetup
Kristján Oddsson detailed at the Web Components SF meetup how GitHub uses Web Components and the patterns GitHub identified to foster readable, performant, and accessible front end components.
-
Security Concerns for Peripheral APIs on the Web
Google has been promoting the inclusion of peripheral connectivity using Bluetooth and USB on web browsers for several years. Yet, it's meeting heavy resistance from other browser vendors such as Apple and Mozilla.
-
Airbnb Releases Tool to Convert Large Codebases to Typescript
The Airbnb engineering team recently released ts-migrate, a tool to help migrate JavaScript code to TypeScript. While the resulting TypeScript code will compile, manual revision of a few annotations (e.g. any) will still be necessary. An automated process may however be more productive than starting from scratch. The Airbnb team reports converting projects with over 50,000 lines of code in a day.
-
TypeScript 4.0 Adds Long-Awaited Variadic Tuple Types
The TypeScript team announced the release of TypeScript 4.0, which includes long-awaited variadic tuple type support and other improvements without introducing any major breaking changes.
-
Next.js 9.5 Improves Static Site Regeneration Performance
Next.js, the open-source React-based framework from Vercel, adds several static site generation performance improvements in the Next.js 9.5 release. The release also allows developers to optionally opt-in to Webpack 5 beta for smaller and faster builds.
-
Ajv Joins the OpenJS Foundation
Ajv, a JSON Schema validator for both server-side and client-side JavaScript applications, has joined the OpenJS Foundation. Ajv, which was recently awarded a grant from Mozilla’s Open Source Support (MOSS) program, may benefit from the OpenJS infrastructure and organization to grow the number of contributors and foster wider enterprise adoption.
-
UI Component Explorer Storybook Releases 6.0 with Live Edits, Storybook Composition, Zero-Config
The Storybook team recently released the sixth major version of Storybook. Storybook 6.0 features zero-configuration setup, live edit of component examples, and support visualizing several storybooks in the same component explorer window (composition feature).
-
React 17 to Ease Migration Pains for Future React Versions
The React team recently released React 17 (first release candidate), two years after React 16. React 17 strives to ease the migration between future major versions of React by enabling two concurrent versions to coexist. React 17 additionally has a few breaking changes related to the event system and the scheduling.
-
Bootstrap 5 Removes jQuery Dependency
The new Bootstrap 5 removes jQuery and no longer supports Internet Explorer (IE).