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