react-component / react-component/dialog

when using next.js with SSR there is a bug shows " Expected server HTML to contain a matching <div> in <div> "

Open
#281 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
455
Forks
206
Avg merge
12m
Merged PRs (30d)
1

Description

截屏2021-12-29 下午4 15 32

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified. Start by reproducing the reported hydration warning in a Next.js SSR setup using this dialog component, then trace the server and client render paths. Done means the reported warning no longer appears during hydration.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.