Simulate React.createElement()
and ReactDOM.render()
methods.
模拟实现 React.createElement() 和 ReactDOM.render() 方法。
// old
import React from 'react';
import ReactDOM from 'react-dom';
// new
import React from "./utils/react";
import ReactDOM from './utils/react-dom';