LT about periodic background sync at #remo_study
LT about periodic background sync at #remo_study
概要 Object.assignはオブジェクト同士をマージするJSerの誰もが長年追い求めた夢のメソッドである。 使い方 Object.assign( target, ...sources ) 第一引数で渡したオブジェクトに、第二引数以降のオブジェクトが直接持つ、 全ての列挙可能なStringまたはSymbolプロパティを加え、結果として返す。 例: var sym = Symbol() var obj1 = { "str": 1, } var obj2 = { "str": 2, [sym]: 2 } var obj3 = Object.assign( obj1, obj2 ) console.log( obj1 == obj3 ) // true console.log( obj1["str"] == 2 ) // true console.log( obj1[ sym ] == 2
April 8, 2020 Today, we'll look at measuring React component render performance with the React Profiler API, measuring interactions with React's new experimental Interaction Tracing API and measuring custom metrics using the User Timing API. For demonstration purposes, we'll be using a Movie queueing app. The React Profiler API The React Profiler API measures renders and the cost of rendering to h
ベンチマークを取ることは非常に重要です。「推測するな、計測せよ」という原則のとおり、複数の実装案が考えられる場合はベンチマークスコアを計測し、最も目的に叶うものを採用しましょう。 これは CX 事業本部の Tech Lead のお仕事紹介第 3 弾の記事です。 TypeScript でのベンチマークスコア計測 benchmark.js を用います。基本的な使い方についてはドキュメントを読んでいただくとして、ここでは TypeScript のサンプルを紹介します。 https://github.com/januswel/benchmark-divide-array-into-chunks ポイントをいくつか紹介します。 npm スクリプト 誰でも簡単にベンチマークを実行できるようにするため、 npm スクリプトを定義しましょう。 { // snip "scripts": { "start":
What is Crank?Crank is a JavaScript / TypeScript library for building websites and applications. It is a framework where components are defined with plain old functions, including async and generator functions, which yield and return JSX elements. Why is Crank “Just JavaScript?”Many web frameworks claim to be “just JavaScript.” Few have as strong a claim as Crank. It starts with the idea that you
バージョン管理システムについておさらい Gitというのはバージョン管理システムで広く世の中に使われています。あのLinuxの大元を作ったLinusさんが2週間で作ったっていうのは有名な話です。 hyoshiok.hatenablog.com だいたい、バージョン管理システム自体が一般の人々にとってはなんじゃらほいですよね。プログラマーが主に使います。プログラムって、どんどん修正していきますよね。で、修正したら機能が追加されたり動きが良くなったりするのですが、たまにとんでもないバグが埋め込まれていたりします。で、aaa.prgというソースコードを作っていて、aaa.prg.20200418とかってファイルを作ったりして古いソースコードファイルのバックアップを取ったりすると、そのうちバックファイルだらけになったり、バックアップを戻したタイミングで戻るべきではないものまで戻ったりして、現場は大混
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く