Just $ A sandbox

プログラミングと計算機科学とかわいさ

2016-07-03から1日間の記事一覧

React ComponentにImmutable.jsは(多分)だめ

github.com ここにもはっきり書いてあるように, Note that state must be a plain JS object, and not an Immutable collection, because React's setState API expects an object literal and will merge it (Object.assign) with the previous state. Reac…