revert: 去掉多余注释

This commit is contained in:
mario.gk 2020-06-28 15:22:31 +08:00
parent c3b796e6a2
commit 2495afac95

View File

@ -141,7 +141,7 @@ export default class Engine extends PureComponent {
}
createElement(Component, props, children) {
// TODO: enable in runtime mode?s
// TODO: enable in runtime mode?
this.patchDidCatch(Component);
return (this.props.customCreateElement || reactCreateElement)(Component, props, children);
}