일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- typeScript
- concept
- 삶
- JavaScript
- node.js
- hardhat
- tailwindcss
- HTML
- bitcoin
- graphQL
- error
- solidity
- REACT
- nextJS
- express.js
- Interface
- CSS
- middleware
- built in object
- Ethereum
- API
- useState
- web
- 기준
- Props
- CLASS
- SSR
- evm
- Redux
- blockchain
- Today
- Total
목록Hook (2)
ReasonJun
useMemo is a hook in React that allows you to memoize the result of a computation. It is used to optimize performance by avoiding unnecessary recalculations of expensive or complex values. When you use useMemo, you provide a function and a dependency array. The function is executed during the rendering phase, and its return value is memoized. The memoized value is then cached and only recalculat..
In React, useEffect is a hook that allows you to perform side effects in functional components. Side effects can include fetching data from an API, subscribing to events, manipulating the DOM, and more. The useEffect hook is similar to lifecycle methods such as componentDidMount, componentDidUpdate, and componentWillUnmount in class components. The useEffect hook takes two arguments: a function ..