貪心學(xué)院搭建企業(yè)級(jí)知識(shí)圖譜系統(tǒng)
2022-11-10 16:45 作者:janet19961217 | 我要投稿
const ReactElement = function(type, key, ref, self, source, own, props) {
?const element = {
? ?$$typeof: REACT_ELEMENT_TYPE, ?// symbol REACT_ELEMENT_TYPE = 0xeac7 用于標(biāo)識(shí) React 元素
? ?type: type,
? ?key: key,
? ?ref: ref,
? ?props: props,
? ?_owner: owner, ?// ???
?}
?return element;}
標(biāo)簽: