Why do I need RS payload for Server Components #67499
Unanswered
salos1982
asked this question in
App Router
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I created a new next-app project from scratch, build it and found that all static data in html are duplicated. First time is is used in html code and the second time it is used in RSC payload. I do not understand why I need to pass the same data twice. I hoped that using server side rendering helps me reducing this duplicating data.
But I think I will get the same code size as I had in next13 with only clients components.
If RSC paylod is required only for Streaming it will be nice to have an option to switch off streaming support and reduce file size of generated html.
Beta Was this translation helpful? Give feedback.
All reactions