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
- JavaScript
- hardhat
- built in object
- SSR
- middleware
- typeScript
- useState
- bitcoin
- 삶
- concept
- REACT
- solidity
- HTML
- CLASS
- 기준
- blockchain
- Redux
- Props
- Ethereum
- API
- node.js
- express.js
- evm
- web
- nextJS
- error
- Interface
- CSS
- graphQL
- tailwindcss
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