InfoQ Homepage JavaScript Content on InfoQ
-
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.
-
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.