📅  最后修改于: 2022-03-11 14:55:17.548000             🧑  作者: Mango
const text = React.createElement('p', {}, 'This is a text');
const container = React.createElement('div','{}',text );
ReactDOM.render(container,rootElement);