next-react-server-components icon indicating copy to clipboard operation
next-react-server-components copied to clipboard

Change `ms` to `moment`

Open shuding opened this issue 2 years ago • 2 comments

This is to demonstrate that modules used in Server Components will never be shipped to the client side, but traditional SSR and CSR pages do. So moment adds an additional 25kb to /ssr and /csr, but not for /rsc.

shuding avatar Apr 01 '22 12:04 shuding

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/vercel/next-rsc-news/2LeNpTLKr2XsZp2Wp5htnJ3QWaus
✅ Preview: https://next-rsc-news-git-shu-ecee.vercel.sh

vercel[bot] avatar Apr 01 '22 12:04 vercel[bot]

📝 Changed routes:

/csr /
Screenshot of /csr
(view full size)
Screenshot of /
(view full size)
/item.server /rsc.server
Screenshot of /item.server
(view full size)
Screenshot of /rsc.server
(view full size)
/slow.server /ssr
Screenshot of /slow.server
(view full size)
Screenshot of /ssr
(view full size)

Commit 6bb9f10bbd5b922e6e83c84abdaf754be0e38df0 (https://next-rsc-news-pwxtp2m42.vercel.sh).

vercel-team avatar Apr 01 '22 12:04 vercel-team

Gonna close this as stale (since there's now merge conflicts after the refactor). Let me know if this is still something we want to do!

leerob avatar Nov 13 '22 16:11 leerob