3 ms·
Learn Next.js in 10 Tweets – React Based Web Framework
- scastiel 6y agoI used Next.js for the first time (on a real project) for my course about React hooks [1]. I love it now! I used to create my React projects with Parcel [2], but I’m pretty sure Next.js will now be my default stack to start a new side project. Only downside I see: a Next.js app using functions or server-side rendering is not easy to deploy somewhere else than on Vercel [3]. And Vercel is great (even with its free tier), but if you don’t like it, you’ll have to do some manual work to deploy your app. [1] https://useeffect.dev https://useeffect.dev [2] https://parceljs.org https://parceljs.org [3] https://vercel.com https://vercel.com
- colbyfayock 6y agoDefinitely agree! WRT deploying Next.js apps, I typically go static first because it makes it easier, exporting it to static files But there are some other options I've found: Next.js on Netlify works great if you want to deploy to Netlify: https://github.com/netlify/next-on-netlify https://github.com/netlify/next-on-netlify I haven't tried this, but an option to deploy with AWS Lambda and Serverless Framework https://codedaily.io/tutorials/184/Deploy-a-NextJS-App-With-Serverless-to-AWS-Lambda https://codedaily.io/tutorials/184/Deploy-a-NextJS-App-With-...