InfoQ Homepage JavaScript Content on InfoQ
-
Chrome Updates Experimental Wake Lock API Support
The Wake Lock API prevents some aspect of a device from entering a power-saving state, a feature currently only available to native applications. Chrome 79 Beta updates its experimental support for this feature, adding promises and wake lock types.
-
Microsoft Edge 79 to Use the Chromium Browser Engine
With the release of Edge 79, Microsoft will transition from its proprietary EdgeHTML engine to Chromium, the popular open-source engine that powers Chrome.
-
Stateful Programming Models in Serverless Functions: Chris Gillum at QCon San Francisco
Chris Gillum, principal engineering manager at Microsoft, presented at QCon San Francisco on Serverless Programming Models in Azure Functions. In his presentation, he discussed two stateful programming models, workflow and actors on Azure Functions - Microsoft’s implementation of serverless compute.
-
Faster Web Rendering with WICG Display Locking Proposal
The Web Incubator Community Group (WICG) recently introduced Display Locking, a proposed set of API changes that make it straightforward for developers and browsers to easily scale to large amounts of content and control when rendering work happens.
-
Predicting the Future of the Web: Richard Feldman at ReactiveConf 2019
At ReactiveConf 2019 in Prague, Richard Feldman drew on his 12 years of professional Web development experience, and history of being an early adopter of technologies like React in 2013 and Elm in 2014, to make and justify some concrete predictions about the future of the Web in both 2020 and 2025.
-
Largest Transport Provider in Norway Rewrites Its Website with 83,000 Lines of Elm
Vy.no, the largest transport provider in Norway, rewrote its website in the compile-to-JavaScript Elm language. Robin Heggelund Hansen and Kjetil Valle presented in a recent article the three-year journey by which Vy gradually switched to Elm for the non-static parts of its website.
-
JavaScript Private Class Fields and Methods: Three New Draft Specifications
Private class fields are finally coming to JavaScript with no less than three separate TC39 proposals that define the new capabilities.
-
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.