KenlamCoding / loveWorking

1 stars 0 forks source link

How to design react component #4

Open KenlamCoding opened 1 year ago

KenlamCoding commented 1 year ago
  1. Proxy component: use the third-party library
  2. Styled components: dynamic class names
  3. Layout components: reusable layouts such as styles, or layout components
  1. Container components It is non-reusable, mainly for pulling data and combining components.

  2. Higher-order components Reusing component logic in React.