Đang chuẩn bị liên kết để tải về tài liệu:
Ebook React in pattern
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
(BQ) The book is highly opinionated. It represents my own understanding of the described patterns and it is possible that they have a different interpretation around the web. Have this in mind when arguing with someone and using this book as an argument. | Table of Contents Introduction 1.1 In brief 1.2 Foundation Communication 2.1 Input 2.1.1 Output 2.1.2 Event handlers 2.2 Composition 2.3 Using React's children API 2.3.1 Passing a child as a prop 2.3.2 Higher-order component 2.3.3 Function as a children, render prop 2.3.4 Controlled and uncontrolled inputs 2.4 Presentational and container components 2.5 Data flow One direction data flow 3.1 Flux 3.2 Flux architecture and its main characteristics 3.2.1 Implementing a Flux architecture 3.2.2 2 Redux 3.3 Redux architecture and its main characteristics 3.3.1 Simple counter app using Redux 3.3.2 Good to know Dependency injection 4.1 Using React's context (prior v. 16.3) 4.1.1 Using React's context (v. 16.3 and above) 4.1.2 Using the module system 4.1.3 Styling 4.2 The good old CSS class 4.2.1 Inline styling 4.2.2 CSS modules 4.2.3 Styled-components 4.2.4 Integration of third-party libraries 4.3 React and separation of concerns 4.4 Summary Summary 5.1 3 Introduction React in patterns A book about common design patterns used while developing with React. It includes techniques for composition, data flow, dependency management and more. Web (https://krasimir.gitbooks.io/react-in-patterns/content/) PDF (https://github.com/krasimir/react-inpatterns/blob/master/book.pdf) Mobi (https://www.gitbook.com/download/mobi/book/krasimir/reactin-patterns) ePub (https://www.gitbook.com/download/epub/book/krasimir/reactin-patterns) GitHub .