일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Interface
- solidity
- Props
- SSR
- 기준
- middleware
- express.js
- HTML
- tailwindcss
- error
- concept
- 삶
- node.js
- Redux
- nextJS
- CLASS
- bitcoin
- graphQL
- web
- API
- Ethereum
- REACT
- evm
- built in object
- CSS
- JavaScript
- useState
- hardhat
- blockchain
- typeScript
- Today
- Total
목록Performance (3)
ReasonJun
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/rDYbE/btskJqlc2JE/EukEHKOP5uhUUqVSKeHTW1/img.png)
Web Vitals are a set of metrics that measure the user experience of a web page. They are designed to help developers understand how their pages are performing and identify areas where they can improve. The three core Web Vitals are: Largest Contentful Paint (LCP): This measures the time it takes for the largest contentful paint (LCP) element on a page to render. The LCP element is typically the ..
useCallback is a hook in React that is used to memoize and optimize the creation of a function, especially when passing that function down to child components. It is primarily used to avoid unnecessary re-creation of function references, which can lead to unnecessary re-renders of child components. When a component renders, any functions defined within the component body are recreated each time ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bUYnkk/btsjIK47yfM/697YhICMCI2sgJaftNZNd1/img.png)
App.js code : import { useEffect, useState } from 'react'; import './App.css'; import B from './components/B'; import A from './components/A'; function App() { const [value, setValue] = useState(''); const [posts, setPosts] = useState([]); useEffect(() => { fetch('https://jsonplaceholder.typicode.com/posts') .then((res) => res.json()) .then((posts) => setPosts(posts)); }, []); return ( setValue(..