InfoQ Homepage TypeScript Content on InfoQ
-
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.
-
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.
-
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.
-
Vaadin Introduces Hilla to Unify Frontend/Backend Web Development
Vaadin has introduced Hilla, a new framework for Java developers that combines the backend with Spring Boot and the frontend as a mix of TypeScript and Lit. Hilla offers many capabilities to simplify business application development, such as providing a unified project setup for Java and TypeScript that remains in sync.
-
How GitHub Uses Machine Learning to Extend Vulnerability Code Scanning
Applying machine learning techniques to its rule-based security code scanning capabilities, GitHub hopes to be able to extend them to less common vulnerability patterns by automatically inferring new rules from the existing ones.
-
TypeScript 4.6 Beta Improves Type Inference and Error Checking
The TypeScript team released version 4.6 beta, which introduces improvements to control flow analysis, class constructor definitions, error checks in JavaScript files, and others. TypeScript can now narrow down the signature for a function parameter whose type is a discriminated union.
-
Amazon Announces AWS Lambda Powertools TypeScript
Amazon recently announced the beta release 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.
-
JetBrains Launches Lightweight IDE Fleet, Cloud Workspaces for IntelliJ
Fleet is JetBrains' attempt to provide a polyglot, lightweight IDE, including support for remote workspaces. Additionally, the latest release of IntelliJ also brings support for remote development to JetBrains IDEs.
-
Comparative Study of 11 CSS-in-JS Libraries - Andrei Pfeiffer at React Finland 2021
Andrei Pfeiffer recently presented the results of a comparative study of 11 CSS-in-JS libraries. In his talk at React Finland 2021, Pfeiffer focused on the distinction between static and runtime CSS-in-JS libraries and further explained how each category and browser caching relate to performance.
-
Flow Type Checker No Longer Just JavaScript with Types, Centers of Facebook Needs
Vladan Djeric, engineering manager supporting the Flow team at Facebook, announced that the Flow type checker will go beyond being just JavaScript with types and introduce new features based on Facebook’s internal user needs. In particular, Flow strives to deliver fast type-checking on large, complicated codebases. Flow’s vision is in contrast with TypeScript’s — JavaScript with syntax for types.
-
Deno Improves Support for Web APIs: Cryptography, Messaging, Networking, and More
The recent versions of Deno improved web API support in the cryptography, networking, and messaging areas. Deno 1.11 introduced support for the Web Crypto APIs and BroadcastChannel APIs. Deno 1.12 added support for the MessageChannel and MessagePort portions of the Channel Messaging API. Deno 1.13 implements the navigator.hardwareConcurrency API.
-
ReScript, a Fully-Typed Javascript Alternative
ReScript is one of several emerging programming languages that helps web developers build complex web applications that can be transpiled into JavaScript and run in the browser.