InfoQ Homepage JavaScript Libraries 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.
-
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.
-
The Three Key Dimensions of Front-End Frameworks - Evan You at JS Conf Asia 2019
Evan You, Vue.js framework's creator, recently talked at JS Conf Asia 2019 about seeking balance in framework design. Frameworks should be distinguished on three design tradeoffs: scope, render mechanism, and state mechanism, rather than on popularity-based metrics. Frameworks are best evaluated on a continuous tradeoff axis instead of with a binary (good vs. bad) determination.
-
Babel 7.5: Dynamic Import, Pipeline Operator and More
The recently released Babel 7.5 can now parse and transpile F# pipelines and dynamic imports. Babel 7.5 additionally has experimental support for TypeScript namespaces.
-
The Polymer Project Releases Lit-Html and LitElement for Performance-Focused Web Components
The Polymer Project recently released lit-html v1.0 together with LitElement v2.0. lit-html is a light-weight, extensible HTML templating JavaScript library. LitElement is a JavaScript library to create lightweight, optimized-for-performance web components. The created web components can then be used in any framework or no framework to build web applications.
-
Pixi.js, HTML5 Alternative to Adobe Flash, Adds WebGL Support for Cross-Platform, Interactive Apps
PixiJS, a standard-based alternative to Adobe Flash, released its fifth major version with faster rendering and lower GPU utilization. PixiJS v5 abstracts WebGL features behind a new API which falls back to HTML5’s canvas if needed. Developers thus need not dive into the WebGL API or deal with device compatibility to create rich, interactive graphics, cross-platform applications, and games.
-
Svelte 3 Front-End Framework Moves Reactivity into the JavaScript Language, Q&A with Rich Harris
The recently released front-end framework Svelte 3 introduces a new syntax to express reactivity in JavaScript. InfoQ interviewed Rich Harris, Svelte creator, and discussed what Svelte 3 means and its implications for developers.
-
Benchmark Ranks 18 Front-End Frameworks Implementation of Medium.com Clone
The RealWorld-based benchmark comparing the implementation by 18 front-end frameworks of a non-trivial full-stack application code-named Conduit recently updated its results. Most (13 out of 18) frameworks obtain a top-tier LightHouse performance score. Svelte, Stencil, AppRun, Dojo, HyperApp and Elm exhibit the lowest payload transferred over the network (< 30 KB).
-
Nest.js 6 Improves GraphQL Integration and Improves Platform Flexibility
Nest.js recently announced the release of version 6 of their TypeScript framework. Nest.js 6 improves support for GraphQL and also decouples the platform-specific portions of their framework to support applications beyond their traditional Express and Node.js based architecture.
-
Ink: React for Interactive Command-Line Apps
Ink.js, self-described as "React for Command Line Interfaces", recently released its second major iteration. Ink enables to build command-line apps by assembling React components. Developers may then leverage their React knowledge, and the React ecosystem.
-
NSFW.js: Machine Learning Applied to Indecent Content Detection
With the beta-released NSFW.js, developers can now include in their applications a client-side filter for indecent content. NSFW.js classifies images into one of five categories: Drawing, Hentai, Neutral, Porn, Sexy. Under some benchmarks, NSFW categorizes images with a 90% accuracy rate.
-
React 16.8 Releases React Hooks: Reusable and Composable Logic in React Components
The React team recently released React 16.8 featuring React Hooks. Hooks encapsulate impure logic (such as state, or effects) with a functional syntax that allow hooks to be reused, composed, and tested independently. Developers may additionally define their own Hooks by composition with the predefined Hooks shipped with React 16.8.
-
Emotion 10: CSS-in-JS with Flexible Scoped and Global Styling, and Server-Side Rendering
Emotion 10.0, a CSS-in-JS library, is a massive, long-awaited release with new features, improvements and bug fixes. Components can now be styled with the CSS property in a larger set of contexts, with a more natural syntax allowing access to the theme properties. A new Global component enables dynamic global styling. Those changes in turn made possible zero-configuration server-side rendering.
-
Babel 7.3: Smart Pipelines, Private Instance Accessors and More
The recently released Babel 7.3 can now parse and compile private instance accessors and the 'smart' pipeline operator. Babel 7.3 additionally supports named capturing groups in regular expressions, and much more.
-
Pika Brings Zero-Configuration Bundling and Publishing for NPM Packages
Pika revisits the discovery, bundling, packaging, and publishing of modern web applications. Its discovery module exposes an online search interface retrieving exclusively ECMAScript module-based packages (ES Module or ESM) published on npm. Its configuration-free packaging module builds, bundles and packages applications optimized for consumption in modern browsers and Node.js environments.