Commit de47999
committed
Skip emitting entire hidden Activity boundary including comments from SSR
Then we handle this fully in the Activity wrapper. That's what determines
whether the offscreen content is SSR:ed or not.
This also optimizes by avoiding an emit commit pass that used to hydrate
the hidden Activity and then client renders the hidden content.1 parent 57dc1f2 commit de47999
3 files changed
Lines changed: 25 additions & 37 deletions
File tree
- packages
- react-dom/src/__tests__
- react-reconciler/src
- react-server/src
Lines changed: 0 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3746 | 3746 | | |
3747 | 3747 | | |
3748 | 3748 | | |
3749 | | - | |
3750 | | - | |
3751 | 3749 | | |
3752 | | - | |
3753 | | - | |
3754 | 3750 | | |
3755 | 3751 | | |
3756 | 3752 | | |
| |||
3767 | 3763 | | |
3768 | 3764 | | |
3769 | 3765 | | |
3770 | | - | |
3771 | | - | |
3772 | | - | |
3773 | | - | |
3774 | 3766 | | |
3775 | 3767 | | |
3776 | 3768 | | |
| |||
3779 | 3771 | | |
3780 | 3772 | | |
3781 | 3773 | | |
3782 | | - | |
3783 | | - | |
3784 | 3774 | | |
3785 | | - | |
3786 | | - | |
3787 | 3775 | | |
3788 | 3776 | | |
3789 | 3777 | | |
| |||
3801 | 3789 | | |
3802 | 3790 | | |
3803 | 3791 | | |
3804 | | - | |
3805 | | - | |
3806 | 3792 | | |
3807 | | - | |
3808 | | - | |
3809 | 3793 | | |
3810 | 3794 | | |
3811 | 3795 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
| 733 | + | |
739 | 734 | | |
740 | 735 | | |
741 | 736 | | |
| |||
1113 | 1108 | | |
1114 | 1109 | | |
1115 | 1110 | | |
| 1111 | + | |
1116 | 1112 | | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1127 | 1131 | | |
1128 | 1132 | | |
1129 | 1133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2227 | 2227 | | |
2228 | 2228 | | |
2229 | 2229 | | |
2230 | | - | |
2231 | | - | |
2232 | | - | |
2233 | 2230 | | |
2234 | 2231 | | |
2235 | 2232 | | |
2236 | 2233 | | |
2237 | 2234 | | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
2238 | 2238 | | |
2239 | 2239 | | |
2240 | 2240 | | |
2241 | 2241 | | |
2242 | 2242 | | |
2243 | 2243 | | |
2244 | 2244 | | |
| 2245 | + | |
| 2246 | + | |
2245 | 2247 | | |
2246 | | - | |
2247 | | - | |
2248 | 2248 | | |
2249 | 2249 | | |
2250 | 2250 | | |
| |||
0 commit comments