Rebuild-Black-Business / RBB-Website

Website to help connect black-owned businesses with consumers and resources
https://www.rebuildblackbusiness.com/
MIT License
120 stars 75 forks source link

[Feature] [Architecture] Migrate to NextJS for Dynamic On-Demand Page Generation #375

Open elchris opened 3 years ago

elchris commented 3 years ago

so it looks like NextJS does indeed support React true server-side rendering, unlike Gatsby:

https://nextjs.org/learn/basics/create-nextjs-app https://nextjs.org/docs/basic-features/pages#server-side-rendering https://nextjs.org/docs/basic-features/data-fetching#getserversideprops-server-side-rendering

but deploying to their platform gets you a more straightforward deployment pipeline, which I'd otherwise need to replicate on AWS hosting which is .... doable ... and which i could also roll out for the API application itself.

i'm thinking we should replace gatsby + netlify with nextjs + vercel , maybe if we can cut a deal with them or something.

@ThugDebugger also just mentioned to me that Netlify also has native support for NextJS with a small incremental cost to allow server-side rendering, so that might work too?

This should give us all the things we care about: