文件名称:Pure React_A step-by-step guide to mastering React-Dave Ceddia(2017).epub
文件大小:5.56MB
文件格式:EPUB
更新时间:2021-04-09 15:06:39
React Javascript
We will start where most programming books start, with Hello World. From there, we’ll look at how to compose components together and how to work with JSX, React’s HTML-like syntax for rendering elements to the page. Once you have a grasp on how to create static components, you’ll learn about “props” as a way to pass in the data they need, and “propTypes” for documenting and debugging the props that a component requires. We’ll cover React’s special “children” prop, which is a powerful tool for building reusable, composable components. Finally, you’ll learn about “state,” how it differs from props, and how to organize it in an application. We’ll look at using form controls and the Component Lifecycle.