🗞 News

React Data Request library SWR is available in version 1.0.0

New features:

  • Compared with 0.5.6 of the previous release, 1.0.0 has a 41% reduction in core volume and a 52% reduction in installation package size
  • Support for preloaded data as fallback: Better support for server-side rendering (SSR), static site generation (SSG), and other scenarios
  • Support for IMMUTABLE mode: Data can be defined as IMmutable without repeated requests
  • Middleware Support: Multi-scenario extensions (example)
  • Custom cache provisioning layer: Persistence, offline, test scenarios (documentation)

React Data request library SWR 1.0

Release details: Announcing SWR 1.0 — SWR

An AD that cannot be closed appears at the bottom of the new TAB page of the Microsoft Edge browser

On August 24, 2021, at 12:23 p.m., a large number of Microsoft Edge product customers reported “ads that cannot be closed at the bottom of the new TAB of the Microsoft Edge browser” (figure below). Microsoft (Simplified) Chinese community attaches great importance to this, the community leader Mr. Ling Gao submitted feedback to the Microsoft Edge (USA) engineering team at 12:58 on the 24th. At 2:04 PM on the 24th, the project team of Microsoft Edge (China) was further informed of the problem clue.

Microsoft Edge (China) engineering team confirmed the receipt of the problem clue at 2:10 PM on 24th, and gave a definite reply at 2:42 PM on 24th. At the time of this release, Microsoft is investigating and addressing the issue. The Microsoft Edge browser is expected to be back to normal within 24 hours. Community members are requested to strictly abide by the Microsoft Community Code of Conduct and Microsoft Edge Community Guidelines and participate in the discussion in a friendly and respectful manner.

📦 Open Source

play.js

Write Node.js and React Native apps on iOS devices (iPad/iPhone) using CodeSandbox.

CodeSandbox Blog: Announcing CodeSandbox has Acquired Play.js, a Native JavaScript IDE for iOS – CodeSandbox Blog

JavaScript IDE on the App Store

eslint-nibble

A CLI tool to quickly preview ESLint errors and generate error reports.

GitHub Repo: IanVS/ ESlint-nibble: Ease into ESlint, by fixing one rule at a time

absurd-sql

A library that implements the back end for SQL.js and compiles SQlite3 for the Web, allowing you to use IndexedDB as if it were disk storage, with excellent performance.

GitHub Repo: Jlongster /absurd SQL: SQlite3 in UR Indexeddb (Hopefully a better backend soon)

type-challenges

A TypeScript type challenge collection with an online troubleshooter that offers a wide range of topics, from easy to hard, to learn by practice.

Home Page: Type Challenges

GitHub Repo: type-challenges/type-challenges: Collection of TypeScript type challenges with online judge

jsPDF

A JavaScript library that generates PDF files in the browser.

GitHub Repo: MrRio/jsPDF: Client-side JavaScript PDF Generation for everyone

breaking-changes-web

A detailed listing of all Breaking changes on the Web platform, with links to check them out.

Styfle/breaking-Changes – Web: 💢 A list of breaking changes to the Web Platform

📑 Article

Close Reading TypeScript Infer Keywords

This article introduces the mysterious infer keyword in TypeScript in detail. From the background of requirements to the usage method, it is simple and clear and worth learning.

Read Typescript Infer Keywords

PNPM: State-of-the-art package management tool

This article starts from the realization principle of PNPM, explains in detail some pain points existing in the current package management tools, and introduces how PNPM solves these problems. Finally, it also introduces and analyzes the applicable scenarios of PNPM, which is worth learning!

PNPM: State-of-the-art package management tool