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

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
主站蜘蛛池模板: 青阳县| 涿州市| 正安县| 房产| 弥渡县| 平原县| 武安市| 金堂县| 鄱阳县| 米脂县| 新兴县| 台北市| 重庆市| 房山区| 乐昌市| 平度市| 临夏市| 杭锦后旗| 岑溪市| 子洲县| 富宁县| 迭部县| 绵竹市| 田阳县| 梁山县| 突泉县| 张家口市| 潼南县| 宁乡县| 会宁县| 将乐县| 广丰县| 鞍山市| 盘山县| 武川县| 平安县| 南汇区| 澄城县| 边坝县| 荆州市| 东宁县|