Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 416 Bytes

s10-hoc-hooks.md

File metadata and controls

29 lines (20 loc) · 416 Bytes

S10 - HOC and Basics of Hooks

REVIEW

  • Props, State
  • Chia component
  • Life Cycles
  • Routing vs Nested Routing
  • Context API
  • Redux
  • Redux in ReactJS
  • Redux middlewares

HOC - Higher Order Component

  • withRouter
  • connect
  • withTranslation
  • ...

Concretely, a higher-order component is a function that takes a component and returns a new component


Hooks

Pure Function: no side effects