Delicious value: 🌟🌟🌟🌟🌟

Taste: Orange soda

  • Dining room technology weekly warehouse address: https://github.com/Geekhyt/weekly

The experience is better when viewing the PC terminal in the warehouse, and a Star is the biggest support for the canteen.

The current paper

  • IE retirement countdown: 3 months
  • 4.7 Beta TypeScript
  • @ types/react @ ^ 18.0.0
  • Meta released the open source editor, Lexical
  • How the TypeScript compiler works
  • Code Reviews guide
  • 14 Rules for Asynchrony Lint
  • Rust coding specification Chinese version
  • How do I find JavaScript variables that are leaking globally

Hello everyone, I am Tong Oba. Welcome to this week’s Front End Canteen Tech week, where we start with last week’s tech news.

Technical information

  1. IE retirement countdown: 3 months

All stand and applaud for three minutes.

  1. 4.7 Beta TypeScript

Beta release of TypeScript 4.7.

  • ES Module support under Node.js
  • Module check control
  • Control flow analysis for computing attributes
  • Enhance function type inference in objects
  • Generic instantiate expressions
  • Infer adds extends constraint support
  • New optional notes for type parameters (covariant/contravariant)
  • Private field # Support type query (Typeof)
  • Custom module resolution policies (moduleSuffixes)
  • Module resolution mode
  • Optimize the import statement
  • Object method completion hint support

Breaking Changes

  • Lib. Which s update
  • StrictNullChecks: Generic parameters without default values can no longer be assigned to {}
  • Read-only tuple, length attribute adds read-only limit
  1. @ types/react @ ^ 18.0.0

The React 18 types declaration file is released and provides corresponding upgrade AIDS.

  1. Meta released the open source editor, Lexical

For its design purposes, Lexical is a text editor engine that provides core capabilities and is easy to extend.

Now let’s look at the technical data.

Technical data

  1. How the TypeScript compiler works

An article on how the TypeScript compiler works was inspired by a video by Orta Therox, a former core member of the TypeScript team. This opens the door to exploring the TypeScript repository with 250,000 lines of source code.

  1. Code Reviews guide

With tens of millions of Code Review comments on GitHub every day, this post shares best practices for Code Review from multiple perspectives.

  1. 14 Rules for Asynchrony Lint

In JavaScript, debugging asynchronous code can sometimes feel like running through a minefield where you don’t know when the console will print or how your code will execute. Fortunately, there are some Lint rules that can help us write better asynchronous code.

  1. Rust coding specification Chinese version

There are companies and organizations in the Rust community that maintain their own coding specifications, but as Rust grows in popularity, the need for a uniform coding specification has emerged and this specification has emerged.

  1. How do I find JavaScript variables that are leaking globally

How do you find JavaScript variables that are leaking globally? This article provides an ingenious approach.

Good article recommendation

Here are some of the best articles of the week:

  1. CSS Parent Selector

  2. React 18 Quick Guide and core concepts explained

Ok, this is the canteen weekly, if the audience gentlemen feel good, one key three even is the biggest support for the canteen boss.

Your front canteen, eat every meal well. We’ll see you next time.

❤️ Love triple punch

1. If you think the food and drinks in the canteen are ok with you, please give me a thumbs-up. Your thumbs-up is my biggest motivation.

2. Pay attention to the front canteen of the public account and eat every meal!

3. Like, comment, forward === urge more!