InfoQ Homepage JavaScript Content on InfoQ
-
Newly Refactored Vue.js Builder Vite 2.0 Still Focuses on Speed; Is Now Framework-Agnostic
Evan You, the creator of the Vue.js front-end framework, recently released a new major iteration of Vite, a build tool that focuses on build speed and short feedback loops. Vite 2.0 is a complete refactoring of the previous version around a framework-agnostic core. Vite 2.0 features a new plugin format and improved programmatic API that strive to make it easy to build new tools on top of Vite.
-
How Using Modern JavaScript May Improve Performance
Houssein Djirdeh and Jason Miller recently explained at the Chrome Developer Summit 2020 how modern JavaScript may shorten the size and improve the performance of web applications. The estimator.dev website provides Google’s estimation of the potential savings and suggests plugins that help materialize those savings.
-
Testing Asynchronous Code - RxJS Live London
Jay Phelps, former member of the RxJS core team, recently explained how to test code that leverages code using RxJS, the reactive programming library used by the Angular front-end framework for asynchronous programming. RxJS provides a testing API with a DSL to express timed sequences and lifecycle events.
-
Vue 3 Experiments with Native CSS Variables Template Integration
Vue 3 shipped in September last year in what was a huge release that followed two years of work. Vue developers can now declaratively describe in single-file component templates how component state relates to component style. The experimental feature relies on CSS variables, a native feature in modern browsers, that has been used to implement framework-independent design systems.
-
The Preact Team Releases WMR to Simplify Modern Web App Development
Jason Miller, creator of 3KB Preact alternative to React, recently released WMR, a *tiny all-in-one development tool for modern web apps*. WMR, in a single 2MB file with no dependencies, supports importing npm packages without prior installation, and many of the productivity and production features customary to developers (e.g, hot module reloading, JSX, CSS modules, TypeScript, and more).
-
Npm 7 Now Generally Available, Supports Workspaces and Deterministic Builds
The recently released npm 7 adds several features requested by developers, e.g. support for workspaces, better support for peer-dependency management, or deterministically reproducible builds. npm 7 is a big release that includes several breaking changes aiming at improving the overall developer experience.
-
Snowpack 3 Build Tool Further Streamlines Modern Front-End Development
The third major iteration of the Snowpack front-end build tool was recently shipped with pre-bundled streaming imports, integrated build optimizations, and JavaScript/Node APIs. Snowpack 3 won the 2020 JS Open Source’s developer productivity boost award and ranks at the top of developer interest and satisfaction in the 2020 State of JS survey.
-
New Rust-Based JavaScript Tool Manager to Simplify CLI Management with Global Installs
Volta, a new JavaScript tool manager, recently released its first stable version. Volta installs CLI tools globally while locally storing version information. Like nvm for Node, Volta enables having multiple versions of the same tool installed, without having to worry about switching versions when switching projects. Rust-based Volta ships as a native, fast binary with no external dependencies.
-
New Deno Module Builds and Compiles Vue Applications
The vno Deno module, which self-describes as the first build tool for compiling and bundling Vue single-file components in a Deno runtime environment, recently released its first stable version. vno v1.0 features a parser, compiler, bundler, and an adapter. A server-side renderer is planned.
-
New Haskell-Based Web App Specification Language Released in Alpha
The Web App Specification Language (Wasp) was recently released in alpha to help developers write modern web applications with less code. Just like Elm, Wasp is a domain-specific language written in Haskell. Unlike Elm, which only addresses single-page applications, Wasp also supports multi-page applications. The alpha release leverages a React/Node/Express/Prisma stack.
-
Stimulus, the "JavaScript Framework for the HTML You Already Have", Releases 2.0
Stimulus, which self-describes as a “modest JavaScript framework for the HTML you already have” recently released its second major iteration. Stimulus inspired Catalyst, GitHub’s web component set of patterns.
-
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.