Commit f694cb1
committed
fix: No props in client components when { ssr: false } (#647)
When using `render(..., { ssr: false })`, we wrap client components in order for their initial render result on mount to be `null`, so that we can match the hydrated RSC payload.
When doing this wrapping, we were not passing along the props passed to the wrapper.
As a result, client components used in server components did not get the props passed to them from those server components.
Fixes #5831 parent 8e65f01 commit f694cb1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
0 commit comments