React Anti-Patterns
eBook - PDF

React Anti-Patterns

Build efficient and maintainable React applications with test-driven development and refactoring

  1. 324 pages
  2. English
  3. PDF
  4. Available on iOS & Android
eBook - PDF

React Anti-Patterns

Build efficient and maintainable React applications with test-driven development and refactoring

About this book

No detailed description available for "React Anti-Patterns".

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access React Anti-Patterns by Juntao Qiu in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in JavaScript. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Cover
  2. Title Page
  3. Copyright and Credit
  4. Dedicated
  5. Contributors
  6. Table of Contents
  7. Preface
  8. Part 1: Introducing the Fundamentals
  9. Chapter 1: Introducing React Anti-Patterns
  10. Chapter 2: Understanding React Essentials
  11. Chapter 3: Organizing Your React Application
  12. Chapter 4: Designing Your React Components
  13. Part 2: Embracing Testing Techniques
  14. Chapter 5: Testing in React
  15. Chapter 6: Exploring Common Refactoring Techniques
  16. Chapter 7: Introducing Test-Driven Development with React
  17. Part 3: Unveiling Business Logic and Design Patterns
  18. Chapter 8: Exploring Data Management in React
  19. Chapter 9: Applying Design Principles in React
  20. Chapter 10: Diving Deep into Composition Patterns
  21. Part 4: Engaging in Practical Implementation
  22. Chapter 11: Introducing Layered Architecture in React
  23. Chapter 12: Implementing an End-To-End Project
  24. Chapter 13: Recapping Anti-Pattern Principles
  25. Index
  26. Other Book You May Enjoy
  27. what-will-be-coverd
  28. technical-requirements
  29. understanding-why-build-ui-is-difficult
  30. understanding-the-state-management
  31. exploring-the-unhappy-paths
  32. errors-in-another-component
  33. downstream-systems-are-down
  34. unexpected-user-behavior
  35. introducing-our-approach
  36. X5e903e8c2c5f4e10df439b61bb9d4f414c942ec
  37. OLE_LINK3
  38. X40f74e6f0d0f69d9b64a71918d2ea63f898c2bc
  39. Xdeb99c6863078c95d4d2e459d016fcf3e6f63aa
  40. summary-1
  41. react-essentials
  42. understanding-components-in-react
  43. creating-reusable-components
  44. thinking-in-components
  45. manage-states-in-react
  46. OLE_LINK1
  47. the-rendering-process
  48. common-hooks-in-react
  49. usestate
  50. useeffect
  51. usecallback
  52. the-react-context-api
  53. summary
  54. front-end-applications-are-complex
  55. open-up-a-feature-folder
  56. common-structures-in-react-applications
  57. feature-based-strucutre
  58. benefits
  59. drawbacks
  60. component-based-structure
  61. benefits-1
  62. drawbacks-1
  63. atomic-design-structure
  64. benefits-2
  65. drawbacks-2
  66. mvvm-structure
  67. benefits-3
  68. drawbacks-3
  69. keep-orgnaising-your-project-structure
  70. first-attempt
  71. one-more-layer
  72. inside-a-component
  73. X8f4764dbed6e7346a7182f0988737a84cf4db49
  74. OLE_LINK1
  75. naming-files-with-kebab-case
  76. the-sturcture-we-have-now
  77. OLE_LINK2
  78. summary
  79. single-responsibility-principle
  80. dont-repeat-yourself
  81. using-composition
  82. exploring-a-more-complicated-case
  83. summary
  84. technical-requirements
  85. understanding-why-we-need-tests
  86. learning-different-types-of-tests
  87. testing-individual-units-with-jest
  88. writing-your-first-test
  89. note---behavior-driven-development
  90. grouping-tests
  91. testing-react-component
  92. learning-the-integrationg-tests
  93. note---jsdom
  94. learning-the-end-to-end-tests
  95. introducing-cypress
  96. intercept-the-network-request
  97. summary
  98. technical-requirements
  99. understanding-refactoring
  100. the-common-mistakes
  101. adding-tests-before-you-make-any-changes
  102. renaming-variable
  103. extracting-variable
  104. replacing-loop-with-pipeline
  105. extracting-function
  106. introducing-parameter-object
  107. decomposing-conditional
  108. moving-function
  109. summary
  110. technical-requirements
  111. a-brief-history
  112. the-red-green-refactor-loop
  113. X4c5128f4195e94221b4f32ca5d6853d3b95e060
  114. unit-test-driven-development
  115. acceptance-test-driven-development-atdd
  116. behavior-driven-development-bdd
  117. tdd-in-react-a-user-centric-approach
  118. introducing-the-core-step-of-tdd-tasking
  119. the-importance-of-tasking
  120. how-to-do-tasking
  121. X48ff3dd176aac4090ecb9adef68b1ecd67693a9
  122. features-overview
  123. breaking-down-the-requirements
  124. the-bottom-up-style
  125. the-top-down-style
  126. implementing-the-application-headline
  127. implementing-the-menu-list
  128. making-the-shoppingcart-to-work
  129. adding-item-to-shopping-cart
  130. refactoring-the-code
  131. summary
  132. technical-requirements
  133. understanding-businesss-logic-leaks
  134. introducing-anti-corruption-layer
  135. using-fallback-or-default-value
  136. exploring-the-prop-drilling-issue
  137. using-context-to-resolve-the-drilling
  138. summary
  139. technical-requirements
  140. Xde367f09bf52b3a1702b822defd45444f80877c
  141. the-evolution-of-title
  142. identifing-the-core-functionality
  143. break-down-the-avatar-component
  144. embracing-dependency-inversion-principle
  145. analytics-button
  146. understainding-cqrs-in-react
  147. X2544f715b0c1908ad58f26e6850c8f857ddf5c6
  148. using-the-reducer-function
  149. summary
  150. technical-requirements
  151. X52dd79e4237ffa2212b50762a2f370a76b2bbe2
  152. briefing-on-higher-order-functions
  153. introducing-higher-order-components
  154. Xbddcf4339de1da669fbfd0e14d7a521ba07cead
  155. exploring-react-hooks
  156. unveiling-remote-data-fetching
  157. refactoring-for-elegance-and-reusability
  158. implementing-a-dropdown-list
  159. implementing-keyboard-navigation
  160. diving-deeper-with-additional-states
  161. X1bdc4029b2d9bbe26e6ddb4f774cde8d4600680
  162. introducing-headless-component-pattern
  163. advantages-of-headless-component
  164. drawbacks-of-headless-component
  165. libraries-and-further-exploration
  166. summary
  167. technical-requirements
  168. single-component-application
  169. OLE_LINK1
  170. multiple-component-application
  171. state-management-with-hooks
  172. business-models-emerged
  173. layered-frontend-application
  174. enhancing-code-oven
  175. X5e43f9dcdc6635489a9e5e7a5c22404295bbe27
  176. transitioning-to-a-class-based-model
  177. OLE_LINK2
  178. the-benefits-of-a-class-based-model
  179. implementing-the-shoppingcart-component
  180. applying-discounts-to-items
  181. OLE_LINK3
  182. exploring-the-strategy-pattern
  183. delving-into-layered-architecture
  184. advantages-of-layered-architecture
  185. summary
  186. technical-requirements
  187. getting-a-openweathermap-api-key
  188. preparing-the-project-codebase
  189. unveiling-the-requirements
  190. crafting-our-initial-acceptance-test
  191. implementing-city-search-feature
  192. introducing-openweathermap-api
  193. stubbing-the-search-results
  194. enhancing-the-search-result-list
  195. implementing-anti-corruption-layer
  196. implementing-add-to-favorite
  197. modeling-the-weather
  198. refactoring-the-current-implementation
  199. Xffdd06bd74512476f5f07e92bd64ef8a288075b
  200. refactoring-the-weather-list
  201. Xed3cedd6a6d1db9c7b228444bda33a95d95c692
  202. summary
  203. OLE_LINK1
  204. common-anti-patterns
  205. props-drilling
  206. long-props-list-big-component
  207. business-leakage
  208. complicated-logic-in-views
  209. lack-of-tests-at-each-level
  210. code-duplications
  211. X6a3cba3f89ae088f1d19a5c098667a1c42995f6
  212. higher-order-components-hocs
  213. render-props
  214. headless-components
  215. data-modelling
  216. layered-architecture
  217. OLE_LINK2
  218. context-as-interface
  219. foundational-principles
  220. single-responsibility-principle-srp
  221. dependency-inversion-principle
  222. dont-repeat-yourself-dry
  223. anti-corruption-layer-acl
  224. using-composition
  225. techniques
  226. writing-user-acceptance-tests-uat
  227. test-driven-development-tdd
  228. refactorings-common-code-smells
  229. looking-forward
  230. books
  231. X48caa7cec0ad1bc237a68ca19de660accffdbe1
  232. Xa5446e76fb69dce3639c37e3b293e89b6360557
  233. X56bf3a656309a192b94eb11de87619c3660521d
  234. X49b567575723728f9e96cb429606fc54dfd416d
  235. summary