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
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
For Gatsby there is gatsby-image, which works super well. For Next.js there is next-optimized-images which is not very mature. The latest version of Next.js also provides next/image, but as far as I have understood, it requires you to run the Next.js backend server, so it is not an option for 100% static websites.
https://nextjs.org/docs/basic-features/image-optimization
> Instead of optimizing images at build time, Next.js optimizes images on-demand, as users request them. Unlike static site generators and static-only solutions, your build times aren't increased, whether shipping 10 images or 10 million images.
Sometimes I also bumped into issues with Next.js where the framework was trying to send some code to run on the client browser instead of running it during page generation. The division between server and client seemed a bit too hazy for my taste and felt magical in the wrong ways.
I found the plugin system confusing, and poorly documented so it was hard to know how to get the most out of a plugin and adjust it to whatever our own funny use case was.
The graphql thing was annoying, we don't use graphql and don't know it and didn't find any advantage in having it around.
It's been a while since I touched it, but every time I need to a put it off because it's not a nice env to work in compared to our "from scratch" react apps
No need to be aggressive. I don't have anything against Next, I just felt much more comfortable with Gatsby.
I was using Next.js to build a staticly-generated website (so within the remit of Gatsby) but eventually i outgrew the limitations of static site generation (23k pages and counting...) it was so easy to switch to a traditional server-generated model with Next.js. I'm incredibly greatful for picking up and sticking with Next.js for this.
https://nextjs.org/blog/next-9-5#stable-incremental-static-r...
(edit: whoops this was for the parent comment)
I love Hugo and I wish there was a middle ground that was more approachable. I might have to try next.
My team has just started a Next.js app. I chose Next.js over Gatsby because on the face of it, Gatsby looked like a lot more configuration. I fully expect we'll "disagree" with Next.js at some point but for now I am really liking that it is opinionated, as it it letting us build really quickly.