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