George Cheng (@Gerhut) profile picture

JavaScript engineer @Microsoft, ex- frontend engineer @AlibabaGroup.

Beijing, China
Joined May 2009
Photo by George Cheng (@Gerhut)Photo by George Cheng (@Gerhut)Photo by George Cheng (@Gerhut)Photo by George Cheng (@Gerhut)Photo by George Cheng (@Gerhut)Photo by George Cheng (@Gerhut)Photo by George Cheng (@Gerhut)Photo by George Cheng (@Gerhut)Photo by George Cheng (@Gerhut)Photo by George Cheng (@Gerhut)
The Debian Publicity Team will no longer post on X/Twitter. We took this decision since we feel X doesn't reflect Debian shared values as stated in our social contract, code of conduct and diversity statement. X evolved into a place where people we care about don't feel safe.
1,466
794
597
6,262
985,147
还记得你何时加入 X 吗?我知道!#我的X周年纪念日
36
终于看明白了。。。那是得开了
This quoted post is unavailable.
92
我谨代表我个人及乌克兰人民就特大洪涝灾害造成人员伤亡,向中华人民共和国主席习近平阁下和中国人民表示最诚挚的慰问及支持。祝愿各位受害者早日康复,所有受损基础设施早日恢复。
5,981
3,749
965
36,453
6,501,284
#React rendering is triggered even if useReducer#dispatch with same states but is not triggered if useState#setState with same states.
94
Introduce a new number type that is not assignable to each other in @typescript
111
还记得你何时加入 Twitter 吗?我知道!#我的Twitter周年纪念日
63
还记得你何时加入 Twitter 吗?我知道!#我的Twitter周年纪念日
43
George Cheng retweeted
Congrats to axios/axios, which has grown by 159 stars in the last 7 days and has reached 99.7K stars. Thanks to the contributors: @emilyemorehouse @arthurfiorette @gerhut @codeclown @AsatiShreem ossinsight.io/analyze/axios/… #JavaScript
3
2
470
What magic does this "Open all unread" button do behind it? When you click it, all the issues will be opened as BACKGROUND tabs in your browser. Is there any public/standard Web Platform APIs able to do so?🤯
1
1
1,239
That's the good part of coffee script - all statements are expressions.
You’re unable to view this post because this account owner limits who can view their posts. Learn more
76
George Cheng retweeted
Hello World!
5
23
19
158
47,004
Requesting faucet funds into 0x4f1a194fE4aE5576757b85435E838E4Db332B721 on the #Goerli #Ethereum test network via faucet.goerli.mudit.blog/
Requesting faucet funds into 0x4bF85Af05EaA7357Ea365A8D168aabBF973F3301 on @sepoliafaucet #Sepolia test network.
Monthly work: open react-hook-form's doc and check whether it supports flat field array now - no, see you next month
1
1
我一般是创建一个 .vscode/.gitignore 文件,写一个星号,这样就把所有 vscode 配置包括 .gitignore 文件本身都忽略了。
IDE 的配置文件不应该被提交进 Git,除非项目需要所有人都使用同样配置的 IDE 来开发。 同理,忽略 IDE 配置文件的 .gitignore 也不应该被提交进 Git,除非项目限定所有人都使用同样的 IDE 来开发。 应该把它放在自己本地的全局配置里。
1
还记得你何时加入 Twitter 吗?我知道!#我的Twitter周年纪念日
Can I emit 2 types of modules (commonjs/es2015) in 1 command of @typescript ?
1
Currently I created tsconfig.lib.json and tsconfig.esm.json with different "module" / "outDir" fields and used "tsc --build tsconfig.lib.json tsconfig.esm.json" to generate 2 types of modules.