InfoQ Homepage JavaScript Content on InfoQ
-
Streamlining the Handoff between Designers and Developers - Travis Arnold at React Finland 2021
Travis Arnold recently presented how JSX and compiler technologies can be used conjointly to make the handoff between designers and developers more efficient. While the ideas presented are not yet implemented in any publicly available tool or library, the ideas of Arnold, who describes himself as a designer/developer, may serve to illustrate possible avenues for improved collaboration.
-
Ionic Portals Aims to Simplify the Integration of Web Apps into iOS and Android Native Code
Ionic describes its new web view component, Ionic Portals, as a "supercharged" version of the native web view controls available on iOS and Android. It aims to make it easier for developers to integrate web apps with native code in an efficient way.
-
WICG Publishes New HTML Sanitizer API Proposal against mXSS Attacks
The Web Platform Incubator Community Group recently published the Draft Community Group Report for the HTML Sanitizer API. The HTML Sanitizer API lets developers take untrusted strings of HTML and sanitize those strings for safe insertion into a document’s DOM. The most common use case of HTML string sanitization is to prevent cross-site scripting (XSS) attacks.
-
100,000+ Lines of Elm Code in Production: Rakuten Shares Lessons Learnt
E-commerce company Rakuten recently shared its experience using Elm in production for two years. Its codebase spans several applications totaling 100,000 lines of Elm code. Rakuten highly valued Elm’s Functional UI approach, its type system, and the absence of runtime exceptions. However, Elm not being a mainstream language, resulted in less reusable resources on Google search and Stack Overflow.
-
Qwik, a Resumable Javascript Framework
Qwik is a DOM-centric JavaScript framework that aims to provide the quickest TTI (or time to interactive) by focusing on resumability for server-side rendering of HTML and optimized lazy loading of code.
-
Lit 2 Ships with New Custom Directives and Reactive APIs
The Lit Team recently released Lit 2.0, more than two years after Lit 1. Lit 2 features a new API for custom directives that include asynchronous directives. Lit 2 users will also be able to use reactive controllers to encapsulate reusable reactive logic.
-
Parcel 2: Rust-Based 10x Faster JavaScript Compiler, Modular Configuration, Differential Bundling
The team behind the zero-config bundler Parcel recently announced the first Parcel 2 release candidate. Parcel 2 is a ground up rewrite of Parcel that has been two years in the making. Parcel’s new JavaScript compiler is written in Rust and boasts 10x build performance improvement. Parcel 2 is fully extensible, supports automatic differential bundling, and much more.
-
Erlang-Inspired Language Gleam Now Compiles to JavaScript
Gleam, which self-describes as a language for building type-safe, scalable systems for the Erlang virtual machine, now also compiles to JavaScript.
-
New Template DSL Tempura Focuses on Parsing Speed and Size
Luke Edwards recently released Tempura, a lightweight template DSL with fast parsing speeds. Like other static site generators’ templating languages, Tempura also features custom blocks for user-defined template directives. While Tempura’s primary use case is to generate HTML for web applications, it can be used in any context where a template DSL adds value vs. using JavaScript.
-
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.
-
WebContainers, Running Node.JS in the Browser
Stackblitz recently released a new product called WebContainers that enables developers to create full stack Node.js environments within the browser which loads instantly and comes bundled with VS Code, a full terminal, NPM, and more.
-
Performance-Focused Reactive UI Framework Solid.JS Releases First Major Version
Solid.js, a reactive JavaScript UI library, released its first major iteration. Solid replicates many capabilities (e.g., server-side rendering, concurrent rendering) and APIs (e.g., stores, context, directives) present in other frameworks. Developers map the appearance and behavior of user interfaces to a set of reactive dependencies. Solid compiles the statements to imperative DOM operations.
-
Piral, a Modern React-Based Microfrontends Library
Piral is a JavaScript library for creating modular microfrontends application based on React.
-
Sonatype Lift Integrates Facebook Infer, Google ErrorProne, and Other Code Analyzers
Recently launched Sonatype Lift provides a unified code analysis platform that includes over 25 tools to help developers identify a wide range of bugs in their development pipelines as soon as possible, says Sonatype. InfoQ has spoken with Stephen Magill, VP of product innovation at Sonatype, to learn more.
-
V8 Gets a Non-Optimizing Compiler Stage to Improve Performance
The latest version of the JavaScript V8 engine, V8 9.1, introduces a new intermediate compiler stage, called Sparkplug, that improves performance on real-world benchmarks by 5-15%, says V8 engineer Leszek Swirski. It will be available in the upcoming Chrome 91.