Twitter | Search | |
Jianhua Cheng
Frontend developer; Javascript; Golang(star to know it); React;
166
Tweets
269
Following
20
Followers
Tweets
Jianhua Cheng retweeted
Mathias Bynens Apr 9
In Chrome, any JavaScript files in a service worker cache are bytecode-cached automatically. This means there is 0 parse + compile cost for them on repeat visits. 🤯
Reply Retweet Like
Jianhua Cheng retweeted
Addy Osmani Apr 6
Native <img> lazy-loading is coming to the web! <img loading=lazy> defers offscreen images until the user scrolls near them. Shipping in Chrome ~75
Reply Retweet Like
Jianhua Cheng Mar 25
Wherever you place yourself, it's good to know more about what should a good tech leader do. It helps us build a clear career planning, we decide where we should go base on these great experiences of "the elder".
Reply Retweet Like
Jianhua Cheng retweeted
Tobie Langel Mar 23
I just published "W3C doesn’t help its invited experts. It should." on Medium:
Reply Retweet Like
Jianhua Cheng Mar 22
"The question isn’t open-source-vs-proprietary, but open-source-vs-business-focused."
Reply Retweet Like
Jianhua Cheng retweeted
Guillermo ▲ Mar 21
Pretty incredible: every member of your team *gets their own staging URL* for every `git push` or `now` deployment… No more "who broke staging", but also no more "please stage it". Fully automated.
Reply Retweet Like
Jianhua Cheng retweeted
Eric Elliott Mar 17
Deep experience with one language beats superficial experience with 5 languages.
Reply Retweet Like
Jianhua Cheng Mar 14
"But one can often be in doubt about the effect of a word or a phrase, and one needs rules that one can rely on when instinct fails. I think the following rules will cover most cases: Never use a metaphor, simile, or other figure of speech which you a..."
Reply Retweet Like
Jianhua Cheng Mar 4
How to master advanced TypeScript patterns
Reply Retweet Like
Jianhua Cheng Feb 28
Replying to @leihuang_dev
哈哈,好的 😆
Reply Retweet Like
Jianhua Cheng Feb 27
Replying to @leihuang_dev
冒昧打扰🤣 越了解的多越觉得应该好好学习数学了……这书适合自学嘛? 顺便分享下一个美妙的数学应用例子:
Reply Retweet Like
Jianhua Cheng Feb 19
This let me remember to react, the setState callback, the unstable_xx methods and so on. A well-designed system limits the abilities you can do for the sake of the overall effect it brought.
Reply Retweet Like
Jianhua Cheng retweeted
Oleg Feb 15
CSS-in-JS is an experiment that teaches us things like: 💪🏼API is better than conventions 🚀Automation is better than hard work 🛠 Tools are important 😂 We can put ANYTHING into JavaScript, if you make us to!
Reply Retweet Like
Jianhua Cheng Feb 17
"Secrets are only a source of powerlessness. Just ask Brad Abrams, who poses this rhetorical question: If no one knows you did X, did you really get all the benefits for doing X? I think Brad is being a bit too cautious here. I'll go one step further...."
Reply Retweet Like
Jianhua Cheng Feb 17
How I Became a Better Programmer
Reply Retweet Like
Jianhua Cheng retweeted
Dan Abramov Feb 15
First alpha of the new "react-hooks/reactive-deps" rule is out! It autofills the deps array for Hooks like useEffect() and warns about incorrect deps. Help us test it before the release! Instructions and feedback is welcome in this PR:
Reply Retweet Like
Jianhua Cheng Feb 15
Is there a PWA Store in the future?
Reply Retweet Like
Jianhua Cheng retweeted
Rodrigo Pombo @ 🇫🇷 Feb 11
I made a CLI for Git History, it works with any local git repo. Try it: "npx git-file-history your/file.foo". The repo is here (5k⭐️ already!)
Reply Retweet Like
Jianhua Cheng Feb 11
Replying to @fi3ework
即使你不需要“先进”功能,@babel/preset-env 也能帮助你吃准兼容性,减少不必要的 polyfill。babel-plugin-lodash,babel-plugin-import@之类的插件对体积优化都是有帮助的。
Reply Retweet Like
Jianhua Cheng retweeted
Henry Zhu 28 Mar 17
Very cool! made babel-codemod, a cli tool to let you use Babel to write codemods!
Reply Retweet Like