Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update
  • Loading branch information
benpptung committed May 9, 2018
commit 912e855ffa4f7dda7ee66e8911754fdcc5622e80
6 changes: 4 additions & 2 deletions text/0000-ssrReconciliation.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@ This is because if the 2 renderings keep unchanged in vDOM, React won't update t
1. Introduce unnecessary 2nd rendering

2. The component will do 2 pass rendering in every mounting even it is not in hydration.


3. Limited to stateful component.

# Detailed design

Design a `ssrReconciliation={true}` attribute, or something like that, e.g. ssrPatchUp={true} for the developer to ask React to patch up if a single element's attribute or text content is unavoidably different between the server and the client during hydration.
Design a `ssrReconciliation={true}` attribute, or something like that, e.g. ssrPatchUp={true} for the developer to ask React to patch up if a single element's attribute or text content is unavoidably different between the server and the client during hydration.


# Drawbacks

Expand Down