It works if you remove all from root: ReactDOM.render(<TodoApp />, document.getElementById('root'));. But now we change TodoApp component like this:.
確定! 回上一頁