skip to main content

Jixun's Blog 填坑还是开坑,这是个好问题。

Mastodon

Simple implementation of createElement

Just a nice and simple alternative implementation of React.createElement. var h = (function () { function deref(fn) { return Function.call.bind(fn); } var slice = deref(Array.prototype.slice); // Lodash code starts here var MAX_SAFE_INTEGER = 9007199254740991; function isObject(value) { var type = typeof value; return value != null && (type == 'object'…Read more »
123