javascript
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
By Matthew Tyson In the first half of this article, we set up a web development stack and created a simple example application using Bun, HTMX, Elysia, and MongoDB. Here, we'll continue exploring our new stack while cleaning up and abstracting the example application's data access layer and adding more complex HTMX interactions. We'll also add another component to the tech stack: Pug, a popular JavaScript template engine that works well with HTMX and helps with configuring DOM interactions. The example applicationOur example application currently consists of a form and a table. The form lets u...
Info World
By Matthew Tyson Bun and HTMX are two of the most interesting things happening in software right now. Bun is an incredibly fast, all-in-one server-side JavaScript platform, and HTMX is an HTML extension used to create simple, powerful interfaces. In this article, we'll use these two great tools together to develop a full-stack application that uses MongoDB for data storage and Elysia as its HTTP server. The tech stackOur focus in this article is how the four main components of our tech stack interact. The components are Bun, HTMX, Elysia, and MongoDB. This stack gives you a fast-moving setup t...
Info World
By Paul Krill Bun 1.1, the latest version of the Bun toolkit and drop-in Node.js replacement for building, testing, and running JavaScript and TypeScript, now supports Windows 10. The latest version is also more compatible with Node.js. Announced April 1 and described as a “huge update,” Bun 1.1 is said to be faster and more reliable than earlier releases, with many bug fixes. Bun now supports Windows 10 and higher, making the runtime accessible to Windows developers. Everything from the Bun runtime to the test runner, package handler, and bundler will work on Windows. Intended as a drop-in re...
Info World
閲覧を続けるには、ノアドット株式会社が「プライバシーポリシー」に定める「アクセスデータ」を取得することを含む「nor.利用規約」に同意する必要があります。
「これは何?」という方はこちら