InfoQ Homepage JavaScript Content on InfoQ
-
Server-Rendered Web Applications in Deno with Aleph.js
Aleph.js, a React framework for server-rendered applications in Deno, is now available through an alpha release. Aleph makes many of Next.js’ core features available in Deno environments: zero-config server-side rendering, static site generation, file-system and API routing, and more. Aleph uses the standard EcmaScript Modules (ESM) import syntax and does not need a bundler in development.
-
Deno 1.5 Sees 3x Bundling Performance Improvement Due to Rust-Based JavaScript/TypeScript Compiler
The team behind the Deno runtime for JavaScript and TypeScript recently released Deno 1.5. Deno 1.5 improved bundling time by using Rust-based JavaScript/TypeScript compiler swc. Deno further reduces bundle size with tree-shaking and implements the alert, confirm, and prompt web platform APIs. The latter may allow developers to write simple interactive applications in the terminal.
-
Next.JS 10 Brings Automatic Image Optimization, Internationalized Routing, and Web Vitals Analytics
Vercel, the creator of the Next.js React framework, recently announced Next.js 10 at the first annual Next.js Conf. Next.js 10 features automatic image optimization, internationalized routing, continuous web vitals analytics.
-
Angular 11 Has Arrived
Google has released version 11 of Angular, its popular Single Page Application framework. The release focuses on improving the developer experience and finalizing the cleanup of the issue tracker.
-
Bloomberg Engineering Share Experiences of Adopting TypeScript across a Large Codebase
Rob Palmer, JavaScript infrastructure and tooling lead at Bloomberg, recently shared a few learning points and insights from the adoption of TypeScript at scale at Bloomberg. While some learning points are specific to Bloomberg’s custom runtime, others may be valuable across any large codebase switching to TypeScript.
-
Microsoft Releases Playwright Cross-Browser End-to-End Test Runner
Microsoft released (in preview) a dedicated test runner for Playwright, its test automation tool. The Playwright test runner provides zero-config cross-browser end-to-end testing for web apps, Jest-like assertions, and built-in support for TypeScript. The new test runner leverages Folio, a customizable test framework to build higher-level test frameworks.
-
Mock Service Worker Library Enables Resilient REST and GraphQL API Testing
The Mock Service Worker (MSW) API mocking library allows developers to test web applications without using an actual back-end, setting up a mocking server, or stubbing native http/https/fetch implementations. MSW mocks both Rest and GraphQL APIs. MSW received the JavaScript Open Source Awards this year.
-
Facebook.com Redesign: Stack and Strategies for Sustainable Performance
Facebook detailed in a blog post the technologies and strategies powering FB5, the latest iteration of the facebook.com website. Facebook rearchitected its website and standardized its technological stack around React, GraphQL, Relay, and its custom CSS-in-JS library. The goal of the rewrite was to increase performance and make it easy to add new features.
-
Common Challenges Facing Angular Enterprises - Stephen Fluin at Ngconf
Stephen Fluin, developer advocate for Angular, discussed at ngconf the common challenges facing Angular teams that are building applications at scale.
-
UX Patterns: Stale-While-Revalidate
Stale-while-revalidate (SWR) caching strategies provide faster feedback to the user of web applications, while still allowing eventual consistency. Faster feedback reduces the necessity to show spinners and may result in better-perceived user experience.
-
Redwood - Bringing the Ruby on Rails Experience to JavaScript
Tom Preston-Werner, co-founder of GitHub, released RedwoodJS, a new fullstack, edge-ready JavaScript web framework. Redwood is highly opinionated and integrates pre-determined back-end and front-end stacks. Redwood follows convention-over-configuration principles and strives to provide a Ruby on Rails-like developer experience.
-
JavaScript Smart Contract Platform Agoric Integrates with Chainlink Oracle
The integration of Chainlink oracles with Agoric smart contract platform aims to enable the use of decentralized finance (DeFi) data and events in JavaScript smart contract applications.
-
Svelte at the Edge - Luke Edwards at Svelte Summit
Luke Edwards recently gave a talk at Svelte Summit 2020 in which he discussed running Svelte application at the edge. Edwards demoed building and running a simple Svelte application with CloudFlare Workers and Google Cloud.
-
The Next Svelte May Be Serverless-First -- Rich Harris at Svelte Summit
Rich Harris, the creator of Svelte, lifted the curtain over the experiments that have been taking place around Svelte (the UI framework and compiler) and Sapper (Svelte’s application framework). Harris gave a glimpse of a potential future in which Svelte is a serverless-first framework.
-
REPLicant, a Super Simple Svelte REPL - Peter Allen at Svelte Summit 2020
Peter Allen recently gave a talk at Svelte Summit 2020 in which he explained the benefits of REPL (Read-Print-Eval-Loop) playgrounds. While the Svelte REPL is complex due to the handling of many edge cases, the principles underlying code playground implementations are simple. Allen progressively led the viewer into the implementation of the simplest possible version of the Svelte REPL.