我正在学习本机响应,在我的app.js中,我在返回语句后收到预期的表达式警告
import React from 'react';
import Main from './app/components/Main.js';
export default class App extends React.Component {
render() {
return (
</Main>
);
}
}
答案 0 :(得分:0)
尝试一下!
import React from 'react';
import Main from './app/components/Main.js';
export default class App extends React.Component {
render() {
return (
<Main />
);
}
}