InfoQ Homepage JavaScript Content on InfoQ
-
Sentry Migrates Its Frontend to Typescript - Lessons Learned
Mark Story and Priscila Oliveira recently shared lessons learned when converting Sentry’s frontend codebase (one-year effort, 100,000 lines of code) to TypeScript. The pair described a gradual conversion process in which TypeScript progressively replaced JavaScript, types were continuously refined as new TypeScript language features were released, and complex types were built incrementally.
-
Effectful Effects - Unifying Bidirectional Communication between Software Components
Yizhou Zhang, assistant professor at the University of Waterloo, presented bidirectional algebraic effects, a new programming abstraction that subsumes current control flow patterns (e.g., exceptions, promises, generators) while supporting bidirectional control flows. With the new typed abstraction, all declared effects are handled, and no effects are accidentally handled by the wrong handler.
-
Cloudflare Announces the General Availability of Cloudflare Pages
Recently, Cloudflare announced the general availability (GA) of Cloudflare Pages: a fast, secure, and free way for frontend developers to build, host, and collaborate on Jamstack sites.
-
NativeScript 8 Released with Apple M1, Webpack 5, and Dynamic View Support
The recently released NativeScript 8 features official Apple M1 support, and webpack 5 builds. NativeScript 8 supports a new layout container for creative view development and two new styling properties: box-shadow and text-shadow.
-
10 Years after Inception, WebRTC Becomes an Official Web Standard
Web Real-Time Communications (WebRTC) recently became a web standard. This is a major milestone on a long journey for WebRTC that started in 2011 with Google open-sourcing key necessary technologies. The new standard will continue to evolve as the WebRTC Working Group strives to integrate new use cases — live processing of audio and video feeds, Internet of Things use cases, and more.
-
.NET News Roundup - Week of March 29th, 2021
The last week of March was pretty intense in the .NET community, with the release of Project Reunion 0.5, Dapr 1.1, and more. InfoQ examined these and a number of smaller stories in the .NET ecosystem from the week of March 29th, 2021.
-
Rendering Large Logs in the Browser for GitHub Actions
Rendering large logs in a browser can be a complex task if you want a rich UI including coloring, grouping, search, and permalinks, says GitHub engineer Alberto Gimeno. This is why after testing with both a React and plain JS library, they opted to build their own.
-
Cloudflare Announcement Helps Customers Protect against Online Threats, Such as Digital Skimmers
Cloudflare announces a new service called Page Shield. Page Shield is a client-side security offering that helps websites protect their users' information from supply chain and client-side attacks, such as Magecart. It joins tools like CSP and SRI as ways to protect against these types of attacks.
-
New Features in Chrome DevTools 89
Earlier this month, Google released Chrome 89m, which includes several important updates to the DevTools, such as improved CSP violation handling, Puppeteer recording, improved cookie debugging, as well as many additional features.
-
V8 JavaScript Engine 9.0 Improves JavaScript to WebAssembly Performance
The 9.0 release of the V8 JavaScript engine, powering Chrome and Chromium-based browsers, improves the performance of making WebAssembly calls from JavaScript, adds regular expression match indices, and speeds up super property access.
-
React Native 0.64 Brings the Hermes JavaScript Engine to iOS
The latest version of React Native adds support for the Hermes JavaScript engine on iOS and moves to React 17.
-
Component Explorer Storybook for Svelte Auto-Generates Playground and Documentation
Storybook for Svelte, the Svelte version of the Storybook component explorer, recently announced major upgrades that strive to improve the developer experience around authoring, maintaining, and documenting components’ stories. The new beta release auto-generates controls and documentation from a new Svelte-native story format that captures component states.
-
Web Almanac Mega Study Reveals That Popular Front-End Frameworks Are Still a Small Part of the Web
The HTTP Archive finalized the Web Almanac 2020, an annual report on the state of the web. The report gathers its conclusions in 22 chapters organized in four sections (e.g, page content, user experience, content publishing and distribution): jQuery is still 80% of the web; CSS Houdini is seldom used; the median website ships 400 KB of JavaScript in 2020, 14% more than in 2019; and many more.
-
New Svelte NodeGui Allows Creating Native Desktop Applications with Qt and Svelte
Jamie Birch recently announced Svelte NodeGui, a framework for developing desktop applications on Windows, Linux, and MacOS. A lighter alternative to Electron, Svelte NodeGui lets developers write their applications with the Svelte front-end framework and compiler, the Qt widget toolkit, and a subset of HTML and CSS.
-
Deno 1.8 Ships with WebGPU Support, Dynamic Permissions, and More
Deno 1.8 recently shipped with plenty of new features, including WebGPU support, internationalization APIs, stabilized import maps, support for fetching private modules, and more. Deno permissions, links, and symlinks are now stable. Deno 1.8 additionally ships with TypeScript 4.2.