Document that you can't rely on React 16 SSR patching up differences
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.8k
- Forks
- 7.9k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
This issue was originally filed by @Tarnadas at facebook/react/issues/10591. There's a lot of interesting discussion there.
PR #116 added some additional clarity to the React 16 blog post by calling out that it's dangerous to have missing nodes on the server render, and they might get re-created with incorrect attributes.
@gaearon suggested in a comment below that a core team member should also create a more in-depth blog post about SSR behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the React 16 blog post, PR #116, and the linked original discussion at facebook/react/issues/10591. Add an in-depth explanation of React 16 SSR mismatch behavior, including why missing server-rendered nodes can be recreated with incorrect attributes; the documentation should clearly state that SSR cannot be relied on to patch differences.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100