InfoQ Homepage JavaScript Content on InfoQ
-
React-Based Site Generator Gatsby Raises $15M
Gatsby, the open-source React-based site generator framework, has raised $15M in a Series A funding round, led by CRV. Gatsby plans to grow its team, invest over $3 million yearly in open-source software (including Gatsby itself), and develop a cloud services offering.
-
Running WASI in the Browser and Node.js with Wasmer-JS
Aaron Turner, developer relations at Wasmer, announced that the recently released Wasmer-JS allows developers to run WASI modules in both Node and the browser. Turner provides wasm-terminal as an example of a terminal application built with Wasmer-JS, which allows to fetch and run WASI modules.
-
Vue 2 vs. Vue 3: James Stewart at Vue Glasgow Meetup
James Stewart recently compared the incoming Vue 3 function-based Composition API to the current Vue 2.x class-based Options API. In a presentation held at the second Vue.js Glasgow meetup event, Stewart analyzed the code from the same application written with both APIs, and concluded that the Vue 3 API leads to better code structuring, and makes the isolation and composition of logic easier.
-
Storybook 5.2 Improves Design System Documentation
The recent Storybook 5.2 release delivers a new approach for generating design system documentation. Storybook 5.2 streamlines component documentation to make best practice documentation easier for anyone creating Storybook projects.
-
WebExpo 2019: More Than You Ever Wanted to Know About Resource Hints
Harry Roberts, consultant front-end architect at CSS Wizardry, discussed how web pages can be made faster with Resource Hints in a recent talk at WebExpo 2019 in Prague.
-
Immer JavaScript Immutable State Management Framework Releases V4
Alec Larson released a few days ago the fourth major iteration of award winner JavaScript library Immer, thereby patching an important edge case. Immer is a JavaScript package which allows developers to work with immutable state as it was mutable, by implementing a copy-on-write mechanism.
-
Microsoft Presents Static TypeScript, a Fast Subset of TypeScript Targeting Embedded Devices
Microsoft recently submitted a research paper introducing Static TypeScript (STS), a subset of TypeScript targeting low-resource embedded devices, to the Managed Programming Languages and Runtimes 2019 (MPLR 2019) international conference. STS programs may run on devices with only 16 kB of RAM faster than embedded interpreters would, which would extend battery life of these devices.
-
Optimized Lazy Image Loading with Progressive JPEG and HTTP Range Requests
Christoph Erdmann recently detailed an interesting technique for image lazy loading using Progressive JPEG and HTTP range requests. Unlike other image placeholder and lazy loading techniques, using range requests do not result in downloading extra image data while still providing a small preview image similar to the original.
-
Mozilla Will Continue to Support Existing Ad Blockers, Partially Implementing Extension Manifest V3
Mozilla will continue to support existing extensions which prevent ads from being displayed, unlike Google, which in its draft Extensions Manifest v3, proposes changes to the browser extensions mechanism which may break ad-blockers.
-
TypeScript 3.6 Introduces Stricter Generators & Better Promise Handling
The TypeScript team announced the release of TypeScript 3.6, including stricter generators, better developer experience around promises, improvements to array spread accuracy, and a new TypeScript Playground.
-
Facebook Proposes New IsInputPending API for Faster Input Event Processing
Facebook recently announced its first major browser API contribution. The new isInputPending API aims to shorten the time between a user input and its processing by the browser, and to increase the user experience of highly interactive applications.
-
Firefox 68 with BigInt, Extended Dark Mode, and Curated Extensions
Firefox 68 was recently released to web users. Firefox 68 supports big integers , expanded Dark Mode, improved extension security and discovery, and more.
-
Npm Bans Packages Which Display Ads via Its Command Line Interface
npm, Inc., the company behind the popular eponymous JavaScript package manager, will no longer allow packages which display ads. Developers will be able to silence terminal messages which push ads or call for donations, and which stem from the regular use of the npm command line interface.
-
Chrome 76 Shipped With PWA Installation, Stealthier Incognito Mode, Extension Tracking
Google recently released Google Chrome 76. Chrome 76 makes it easier to install Progressive Web Apps (PWAs) on the desktop, disables a commonly used Incognito Mode detection technique, and allows users to track extension activities.
-
High Performance Video Editing for the Mobile Web
Forbes Lindesay, a software developer at Threads Styling, shares his experience of creating Video Renderer, a high-performance video editor that was written for a mobile web application