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