官术网_书友最值得收藏!

Records

A record is closer to a JavaScript object than to an Immutable.js map. The idea here is that records have a predetermined set of allowable string keys, which can specify default values when not provided:

const MyRecord = Record({});
const myRecord = new MyRecord();
console.log('Record', myRecord instanceof Record);
// -> Record true
主站蜘蛛池模板: 万全县| 汉川市| 白沙| 全南县| 乌恰县| 弥渡县| 华容县| 九江市| 龙泉市| 康马县| 五华县| 崇明县| 改则县| 三门峡市| 萍乡市| 昭觉县| 虹口区| 宜川县| 东安县| 前郭尔| 固镇县| 玛多县| 福州市| 毕节市| 巴东县| 侯马市| 资溪县| 云阳县| 花莲市| 霍林郭勒市| 金秀| 宁蒗| 建宁县| 巴林右旗| 怀远县| 和龙市| 濉溪县| 财经| 神池县| 徐闻县| 大埔县|