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
- node.js
- built in object
- error
- evm
- nextJS
- 기준
- CLASS
- solidity
- CSS
- SSR
- typeScript
- HTML
- JavaScript
- Props
- graphQL
- middleware
- REACT
- hardhat
- tailwindcss
- Interface
- useState
- express.js
- Ethereum
- Redux
- web
- concept
- API
- blockchain
- bitcoin
- 삶
Archives
- Today
- Total
목록Hydration failed (1)
ReasonJun
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/k6ly0/btsAMkhA4Vk/5hsZ3ZGMM55eu0jFEzbdE1/img.png)
Error : Why : While rendering your application, there was a difference between the React tree that was pre-rendered from the server and the React tree that was rendered during the first render in the browser (hydration). Solution : import { useState, useEffect } from 'react' export default function App() { const [isClient, setIsClient] = useState(false) useEffect(() => { setIsClient(true) }, [])..
Frontend/Next.js
2023. 11. 23. 11:19