braydoncoyer / braydoncoyer.dev

My portfolio powered by Next.js, content sourced from Notion, styled with Tailwind CSS and deployed on Vercel. 🙌
https://braydoncoyer.dev/
565 stars 90 forks source link

Replaced `react` with `preact` in production bundle #150

Closed m4saurabh closed 2 years ago

m4saurabh commented 2 years ago

Replace react with preact but only for production build, this way you ship more than 50% less javascript to the client.

vercel[bot] commented 2 years ago

@saurabhggc is attempting to deploy a commit to the Braydon Coyer Team on Vercel.

A member of the Team first needs to authorize it.

braydoncoyer commented 2 years ago

Looks good, but seems as if there's a formatting issue. I prefer single quotes, but your formatter may have automatically relaced with double-quotes. Can you fix it, @saurabhggc ?

m4saurabh commented 2 years ago

Fixed formating issuses

vercel[bot] commented 2 years ago

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/braydon-coyer/braydoncoyer-dev/GauC2i4c2Cfs49Pjh9r6ch5prPpH
✅ Preview: https://braydoncoyer-dev-git-fork-saurabhggc-patch-2-braydon-coyer.vercel.app

braydoncoyer commented 2 years ago

@saurabhggc - is there a reason you closed this?

m4saurabh commented 2 years ago

sorry it happen by mistake