You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
### Rationale
4
4
`react`/`react-dom` comes comes with 2 basic assumptions/ideas:
5
-
- every UI is hierarchical naturally. This why we have the idea of `components`which wrap each other
5
+
- every UI is hierarchical naturally. This why we have the idea of `components` wrap each other
6
6
-`react-dom` mounts (physically) child component to its parent DOM node by default
7
7
8
8
The problem is that sometimes the second property isn't what you want in your case. Sometimes you want to mount your component into different physical DOM node and hold logical connection between parent and child at the same time.
0 commit comments