InfoQ Homepage JavaScript Content on InfoQ
-
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
-
eBay Increases Listing Completion Rate by 30% by Porting Barcode Scanner to the Web With WebAssembly
EBay recently reported a positive business outcome by using WebAssembly to deliver a code scanning feature to its mobile web users. The Draft Completion Rate for sellers’ listing increased by 30% by porting the in-house C++ scanning library to WebAssembly, and using it concurrently with two competing solutions.
-
Ionic CLI V5 Now with Ionic React Beta Support
The Ionic Framework team recently released the fifth major iteration of the Ionic CLI. Ionic CLI v5 features Ionic React support (beta), thus allowing developers to write Ionic applications with the React JavaScript framework and Ionic UI components. Ionic CLI v5 also comes with features aiming at a better developer experience and miscellaneous bug fixes.