javascript
By Paul Krill Angular 18, the next planned release of Google’s TypeScript-based web app development framework, is due to arrive on May 22, with features such as deferrable views and declarative control flow moving out of developer preview to a stable stage. Deferrable views, which are also known as @defer blocks, can be used in component templates to defer the loading of select dependencies within the template, thus reducing the initial bundle size of the application. Declarative control flow is a new built-in syntax for control flow that brings functionality such as NgIf, NgFor, and NgSwitch ...
Info World
By Matthew Tyson Research suggests there are seven JavaScript language elements developers lookup more than any other. While you might not be able to write a complete JavaScript program using only these features, you most certainly won't get far without them. Beginners need to learn them, but they're also great brain refreshers for JavaScript veterans. Let’s take a look at the JavaScript language features every developer needs. The 'most searched' JavaScript language elementsarray: Storing collectionsCollections of values are an essential aspect of all programming languages. In JavaScript, we ...
Info World
By Paul Krill With newly introduced Deno 1.43, the developers of the JavaScript/TypeScript runtime have enhanced its language server, speeding up auto-completion performance and improving memory consumption. Introduced May 1, Deno 1.43 can be accessed via running the deno upgrade command in a terminal. Deno Land developers have reworked many aspects of the Deno language server, commonly referred to as Deno LSP, which provides auto-completion in the editor and other capabilities. With Deno 1.43, auto-completion now takes less than one second in larger projects when it used to take six to eight ...
Info World
By Paul Krill Svelte 5, a planned update to the reactive UI framework, has reached the release candidate phase. No breaking changes are anticipated between now and the stable release. The release candidate was announced on April 30. It features a rewrite of Svelte to be faster, easier to use, and more robust. Runes, a signal-powered reactivity API, is a highlight of this release. Runes promises to unlock universal, fine-grained reactivity, the Svelte team said. Other highlights in Svelte 5 include: Components written for Svelte 4 will continue to work, with several exceptions. Components are n...
Info World
By Paul Krill React 19, the latest version of Meta’s JavaScript library for rendering user interfaces, is now available in beta. The update introduces features such as async functions in transitions and the ability to access ref as a prop for function components. The React 19 beta was unveiled April 25. A React 19 beta upgrade guide has been published. React 19 adds support for using async functions in transitions to handle pending states, forms, errors, and optimistic updates automatically. Functions that use async transitions are called Actions. By building on top of Actions, React 19 introd...
Info World
By Paul Krill TypeScript 5.5, the latest version of Microsoft’s strongly typed JavaScript variant, has arrived in beta with improvements ranging from performance and size optimizations to regular expression checking. The TypeScript 5.5 beta was introduced April 25 and can be accessed through Nuget or the following command: npm -D typescript@beta. A release candidate is due June 4, and the final release is planned for June 18. TypeScript 5.5 has a long a list of improvements. For performance and size, monomorphization work has been done for the language service and public API. With monomorphism...
Info World
By Paul Krill Node.js 22, the latest version of the popular JavaScript runtime, has arrived, featuring require() support for ECMAScript modules, an improved WebSocket client, and an updated version of the Google V8 JavaScript engine. Announced April 24, version 22 of the event-driven, asynchronous runtime can be downloaded from Nodejs.org. The release adds require() support for synchronous ECMAScript module graphs under the flag: --experimental-require-module. If this flag is enabled and the ES module meets a couple of requirements, require() will load the requested module. Additionally, Node....
Info World
By Matthew Tyson Promises are a central mechanism for handling asynchronous code in JavaScript. You will find them in many JavaScript libraries and frameworks, where they're used to manage the results of an action. The fetch() API is one example of promises at work. As a developer, you might not be familiar with creating and using promises outside of an existing product, but it's surprisingly simple. Learning how to create promises will help you understand how libraries use them. It also puts a powerful asynchronous programming mechanism at your disposal. Asynchronous programming with promises...
Info World
By Paul Krill Java services are the most-impacted by third-party vulnerabilities, according to the “State of DevSecOps 2024” report just released by cloud security provider Datadog. Released on April 17, the report found that 90% of Java services were susceptible to one or more critical or high-severity vulnerabilities introduced by a third-party library. The average for other languages was 47%. Datadog’s report analyzed tens of thousands of applications and container images and thousands of cloud environments to assess application security. Following Java in the vulnerabilities assessment wer...
Info World
By Paul Krill ECMAScript 2024, a planned update to ECMA’s standard for JavaScript, is set to include seven new features ranging from array grouping to Unicode strings. The 2024 specification, from ECMA’s Technical Committee 39, is expected to be approved in June. Among the list of finished features cited for publication this year is a proposal for array grouping. Motivating this proposal is the notion that array grouping is a common operation best exemplified by SQL’s GROUP BY clause and mapreduce programming. The ability to combine like data into groups lets developers compute higher order da...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら