Skip to content

FuCrowRabbit/next-ssr-issue1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Next-SSR Issue

https://github.com/ReactLibraries/next-ssr

Hydrationが失敗する問題についての再現リポジトリです。

追記

修正版0.0.8により、解決しました。

最初だけ実行

docker-compose run --rm app npm i

サーバー起動

docker-compose up

ブラウザで確認

以下にSSRとしてアクセスすると、Hydration failedというエラーが出ます。

http://localhost:3000

Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.

Warning: Expected server HTML to contain a matching <h1> in <div>.

See more info here: https://nextjs.org/docs/messages/react-hydration-error

スクリーンショット

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published