Earlier quoted context omitted.
I think for any commercial site, it's likely cheaper to use a platform like next or nuxt and a CDN rather than choking your build pipeline with static generation. You still get static performance and just offload it to an edge network and CDN costs are racing downwards.
No need to do static generation at build time or fully server-side rendering with Next.js either, you can build static pages at runtime with ISR https://nextjs.org/blog/next-9-5#stable-incremental-static-r... (edit: whoops this was for the parent comment)
Vercel raise $40M Series B
201–208 of 208 posts
Re: Vercel raise $40M Series B
#202No offense, I think people are crazy to rely on a stack they can easily make themselves vs. a series B startup. It's not that difficult to build and deploy full stack apps on your own server.
Re: Vercel raise $40M Series B
#203Earlier quoted context omitted.
Serverless web apps. Using their own Next.js as an example: everything in /pages/ is client app, everything in /api/ is serverless app. Client talks to the /api/ endpoints, /api/ endpoints talk to your domain services. Vercel also provide edge-location hosting and caching.
The term "serverless", to me, makes as much sense as "No Software" (Salesforce) did back then: none. I do get the point of "you're not managing any actual servers", but still.
I.e. you don't need to concern yourself with provisioning, nor maintaining, a server as that part of the process has been abstracted away from you.
Re: Vercel raise $40M Series B
#204Earlier quoted context omitted.
I have a site ( https://familytreechart.com ) with a similar integration with Shopify but one thing I've never figured out is how to send someone to Shopify's checkout page with a preconfigured cart. It looks like you are managing the cart on the nextjs side. How are you generating the checkout page with the right items? I've resorted to creating a DraftOrder, but those don't allow for discount codes so I also had to…
There are cart permalinks [1] that you could use but depending on how much you want to pre-populate I recommend using the JS Buy SDK. I found it the other day and set up a custom free gift with discount code for a Shopify Plus client. The discount code uses the BOGO but the custom functionality checks the conditions and adds the product(s) to the checkout if it is not already there then applies the discount (the clie…
Re: Vercel raise $40M Series B
#205Poor Gatsby. We run a Gatsby site, it was great to setup fast fast fast and has been a pain in the butt ever since. Next, from our limited experimentation, has much better ergonomics and it looks like the company has a stronger grasp on go to market. Crazy how fast that happened
Re: Vercel raise $40M Series B
#206Earlier quoted context omitted.
Front end deployment, when done correctly, is already easy. S3 + Cloudfront and done: all your static assets are globally available everywhere with good response times in all major geographic areas.
I switched from S3 + Cloudfront to Vercel, simply because it's even easier.
Re: Vercel raise $40M Series B
#207The one thing I dislike about Vercel is that you need to go all in or nothing with it. Say you have a micro-frontend strategy and would like part of your front-end in next.js; you can't. Overall I really am impressed with Vercel, though. It's been a fun project/company to work with.
Re: Vercel raise $40M Series B
#208Earlier quoted context omitted.
Vercel is the company and the product. Now is the old name of the product. It's been thoroughly re-branded. If you go to now.sh it redirects to a page on vercel.com with no mention of "now". The command-line tool is "vercel", aliased to "vc", and it is configured in vercel.json (no longer now.json). If you go to GitHub and look at the repos containing with "now" in their name, they're archived or deprecated.
Thanks, quite right. (I realized same too late to edit my comment.) FWIW I liked "Zeit" better than "Vercel" (shrug). But preferences aside, I was annoyed that the new redirects for "now.sh" URLs were -- uncharacteristically for a team famous for attention to detail -- mishandled, e.g. breaking a fantastic preso I'd bookmarked (which grauch used in his React Conf 2017 talks) and which I had cause to reference today i…