Chrome Tech Talk Night #8 - connpass
Chrome Tech Talk Night #8 を開催します - Google Developer Japan Blog
こちらのイベントに来ているので、メモ取っていく。英語の講演だから間違ってるかもしれないっす。
./node_modules/watchify/bin/cmd.js -v -t babelify src -o dist |
String.isNyaN = function (val) { | |
if (typeof val !== 'string') return false; | |
var nyan = ['cat', 'kitty', 'kitten', 'doraemon', '🐱', '😿', '😺', '😸', '😼', '😹', '😻', '😽', '😾', '🙀']; | |
return nyan.indexOf(val.toLowerCase()) !== -1; | |
} |
Chrome Tech Talk Night #8 - connpass
Chrome Tech Talk Night #8 を開催します - Google Developer Japan Blog
こちらのイベントに来ているので、メモ取っていく。英語の講演だから間違ってるかもしれないっす。
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
書いてる人:myakura (Masataka Yakura)
Chrome Dev Summit 2020の前後でGoogleのひとが公開した記事を、やる気の続く限り読んで書いたメモ。
主にみているのは以下のサイト。