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