Frontend Bootcamp Posted on 2019-03-10 In frontend 原文链接 JSX介绍 1const element = <h1>Hello, world!</h1>; 1234567ReactDOM.render( <div> <App text="Hello World" /> <App text="How are you doing?" /> </div>, document.getElementById('app')); React allows each control to specify its own data store, called state. 首先是组件的思想,然后有组件的话,必然会涉及到状态