InfoQ Homepage JavaScript Content on InfoQ
-
Cloudflare Introduces a Way to Build and Host Jamstack Sites with Cloudflare Pages
In a recent blog post, Cloudflare announced a fast, secure, and free way to build and host JAMstack sites with Cloudflare Pages. It seamlessly integrates with a Git repository and existing JAMstack frameworks and is in beta now.
-
TypeScript 4.1 Adds Template Literal Types
The TypeScript team announced the release of TypeScript 4.1, which includes powerful template literal types, key remapping of mapped types, and recursive conditional types.
-
Micro-Frontends with single-spa
Micro-frontend extends the concept of Micro-services to the frontend. The goal is to break down large SPA into smaller independent applications that can use different technologies and be developed and managed by separate teams. single-spa is a framework that helps developers achieve that goal by simplifying the composition of multiple front-end applications into a single product.
-
NativeScript Now a Member of the OpenJS Foundation
NativeScript recently joined the OpenJS foundation as an incubating project. The framework, which allows developers to write applications leveraging native mobile APIs with JavaScript and TypeScript, will benefit from the OpenJS foundation support in terms of governance and community outreach, and strengthen its long-term viability.
-
Airbnb Releases Visx, a Set of Low-Level Primitives for Interactive Visualizations with React
Airbnb Engineering recently released the first major iteration of visx, a set of low-level React components that can be composed into interactive visualizations. Visx builds on D3 primitives, React component model, and React DOM handling. Visx strives to provide a data visualization front-end solution that is easy to learn without sacrificing expressiveness.
-
Inertia.JS Lets Developers Write API-Free Monolithic React/Vue/Svelte Applications in PHP or Ruby
Inertia.js allows developers to write single-page applications using classic server-side routing and controllers. Inertia tightly couples the backend to the frontend so developers need not write APIs. Developers can use battle-tested server-side frameworks (e.g., Laravel, Ruby on Rails, Django, AspNetCore). On the client, developers can use React, Svelte, or Vue to implement the user interface.
-
Github Releases Catalyst to Ease the Development of Web Components in Complex Applications
GitHub recently released the first major iteration of Catalyst, a set of patterns and techniques for developing with web components in complex applications. Catalyst strives to be small and is used for the GitHub website that is entirely written in vanilla JavaScript and web components.
-
Server-Rendered Web Applications in Deno with Aleph.js
Aleph.js, a React framework for server-rendered applications in Deno, is now available through an alpha release. Aleph makes many of Next.js’ core features available in Deno environments: zero-config server-side rendering, static site generation, file-system and API routing, and more. Aleph uses the standard EcmaScript Modules (ESM) import syntax and does not need a bundler in development.
-
Deno 1.5 Sees 3x Bundling Performance Improvement Due to Rust-Based JavaScript/TypeScript Compiler
The team behind the Deno runtime for JavaScript and TypeScript recently released Deno 1.5. Deno 1.5 improved bundling time by using Rust-based JavaScript/TypeScript compiler swc. Deno further reduces bundle size with tree-shaking and implements the alert, confirm, and prompt web platform APIs. The latter may allow developers to write simple interactive applications in the terminal.
-
Next.JS 10 Brings Automatic Image Optimization, Internationalized Routing, and Web Vitals Analytics
Vercel, the creator of the Next.js React framework, recently announced Next.js 10 at the first annual Next.js Conf. Next.js 10 features automatic image optimization, internationalized routing, continuous web vitals analytics.
-
New Electron Release Supports New Apple Silicon Chips
The Electron team recently released the 11th iteration of the popular cross-platform native desktop application framework. Electron 11 introduces support for the new Apple silicon hardware (Darwin arm64). Electron 11 also updates the versions of Chromium, Node, and its JavaScript engine.
-
Angular 11 Has Arrived
Google has released version 11 of Angular, its popular Single Page Application framework. The release focuses on improving the developer experience and finalizing the cleanup of the issue tracker.
-
Bloomberg Engineering Share Experiences of Adopting TypeScript across a Large Codebase
Rob Palmer, JavaScript infrastructure and tooling lead at Bloomberg, recently shared a few learning points and insights from the adoption of TypeScript at scale at Bloomberg. While some learning points are specific to Bloomberg’s custom runtime, others may be valuable across any large codebase switching to TypeScript.
-
Microsoft Releases Playwright Cross-Browser End-to-End Test Runner
Microsoft released (in preview) a dedicated test runner for Playwright, its test automation tool. The Playwright test runner provides zero-config cross-browser end-to-end testing for web apps, Jest-like assertions, and built-in support for TypeScript. The new test runner leverages Folio, a customizable test framework to build higher-level test frameworks.
-
Mock Service Worker Library Enables Resilient REST and GraphQL API Testing
The Mock Service Worker (MSW) API mocking library allows developers to test web applications without using an actual back-end, setting up a mocking server, or stubbing native http/https/fetch implementations. MSW mocks both Rest and GraphQL APIs. MSW received the JavaScript Open Source Awards this year.