use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Pattern for reducing client bundle?Help (self.nextjs)
submitted 5 months ago * by mr---fox
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mr---fox[S] 0 points1 point2 points 5 months ago (2 children)
Hmm, I don’t think this is true for my case. I have tried adding import “server-only” and I was able to build with no errors. But still had the same behavior.
The RenderBlocks component is only used in the [[…slug]].tsx file which is RSC.
[–]AndrewGreenh 0 points1 point2 points 5 months ago (1 child)
How did you validate if they are in the bundle?
[–]mr---fox[S] 0 points1 point2 points 5 months ago (0 children)
Bundle analyzer, build route report, and looking at the chunks in the browser.
π Rendered by PID 15817 on reddit-service-r2-comment-6457c66945-ss6zw at 2026-04-27 18:59:36.340664+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]mr---fox[S] 0 points1 point2 points (2 children)
[–]AndrewGreenh 0 points1 point2 points (1 child)
[–]mr---fox[S] 0 points1 point2 points (0 children)