tailieunhanh - Ebook React in pattern

(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 In brief Foundation Communication Input Output Event handlers Composition Using React's children API Passing a child as a prop Higher-order component Function as a children, render prop Controlled and uncontrolled inputs Presentational and container components Data flow One direction data flow Flux Flux architecture and its main characteristics Implementing a Flux architecture 2 Redux Redux architecture and its main characteristics Simple counter app using Redux Good to know Dependency injection Using React's context (prior v. ) Using React's context (v. and above) Using the module system Styling The good old CSS class Inline styling CSS modules Styled-components Integration of third-party libraries React and separation of concerns Summary Summary 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 () PDF () Mobi () ePub () GitHub .