250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Tags
- tailwindcss
- graphQL
- useState
- evm
- Interface
- solidity
- Props
- web
- concept
- bitcoin
- REACT
- CLASS
- HTML
- Redux
- typeScript
- Ethereum
- hardhat
- blockchain
- CSS
- node.js
- 삶
- nextJS
- middleware
- 기준
- API
- SSR
- JavaScript
- built in object
- express.js
- error
Archives
- Today
- Total
목록higher order components (1)
ReasonJun
React : HOCs (Higher-Order Components)
Higher-Order Components (HOCs) are a design pattern in React that allow for code reuse, logic abstraction, and component composition. HOCs are functions that take a component as input and return an enhanced version of that component with additional functionality or props. Here's an example to illustrate the concept of an HOC: // Higher-Order Component const withLogger = (WrappedComponent) => { r..
Frontend/React
2023. 6. 12. 00:59