📝 fix example

This commit is contained in:
Kuitos 2020-08-27 16:18:04 +08:00
parent 843b92c342
commit 2234b4f676

View File

@ -14,7 +14,7 @@ export async function bootstrap() {
console.log('[react15] react app bootstraped');
}
export async function mount(props) {
export async function mount(props = {}) {
console.log('[react15] props from main framework', props);
const { container } = props;
ReactDOM.render(