Live data from Hacker News

Next.js 12

nextjs.org

241–250 of 293 posts

Re: Next.js 12

#241
post #48

If Next.js + Vercel is the leader of the production-ready frontend-as-a-service space, why hasn't a similar leader emerged in the backend-as-a-service space? I would love a clean Vercel-like abstraction on top of standard cloud primitives (functions, queues, events, workflows, etc.) with everything wired up nicely and focused on developer experience. It just seems like AWS is so configuration heavy that it is ripe fo…

Django + Django rest framework ? A headless CMS ?

Re: Next.js 12

#242
post #2

Hey everyone, Lee from Vercel here! Happy to answer any questions about Next.js 12. Personally, I'm extremely excited for the new Rust compiler.

The module federation story was a bit complicated pre-webpack 5. Are there plans in the roadmap to further support module federation?

Re: Next.js 12

#243
post #48

If Next.js + Vercel is the leader of the production-ready frontend-as-a-service space, why hasn't a similar leader emerged in the backend-as-a-service space? I would love a clean Vercel-like abstraction on top of standard cloud primitives (functions, queues, events, workflows, etc.) with everything wired up nicely and focused on developer experience. It just seems like AWS is so configuration heavy that it is ripe fo…

1. I'm not sure about this premise: "leader of the production-ready frontend-as-a-service space." They def seem like a good fit for some frontends -- but they're certainly not a good fit for ALL frontends generally. (For example, sufficiently small sites should probably just go with static hosting, and sufficiently dynamic web apps still will want a SPA.) 2. At the end of the day, web backends are just a lot more var…

Not sure I agree with your first point. Next can output static sites easily, I've used it for some tiny marketing sites recently and I think its fine for small sites. You get auto routing, and can use react components without any hassle.

And 'sufficiently dynamic web apps still will want a SPA' doesn't make much sense to me because you can just use nextjs in full SPA mode and its just as 'dynamic' as any react app

Re: Next.js 12

#244

Seems like a ton of tools/dependancies/frameworks to do something relatively simple. What is the benefit of this over using Hugo with Go templates?

If you want a fully static site, go with Hugo. Site generation is way way faster.

Next offers using React as your templating language as well as adding in server side code if you want instead of static site generation.

Re: Next.js 12

#245
post #122

I'm going to be downvoted to hell for this... but the more I see the level of complexity and amount of engineering going into this, the more I miss Rails and how simple things are there, given most of us are just building CRUD apps anyways.

I understand your point, but having worked with Rails and now working on a React + Flask app, Next.js is the closest thing to Rails we have so far.

And, having worked on a Rails + React app a few years back, I can safely say that is about as complext as a Next.js full-stack app.

I do love Rails and I still think the React + Something on Backend environment is still not there yet (at least not like Rails 4 and 5, which were the ones I used), but Next.js is getting there.

When you factor stuff like Redwook.js and possible Remix.js when it gets open-sourced, for me it gets pretty clear that the trend now is to try to make the Rails of the JS world.

And I would love that. Honestly, people complain about Node and JS, but working in Python/Flask can be just as frustrating. Issue for me is more lack of conventions than language.

Re: Next.js 12

#246

Earlier quoted context omitted.

For me it is because og the pricing model. Free or $99 I’d pay more to get eur datacenter, but not that much when I can host it myself for $5 on DO with the same performance (for my usage) Would gladly pay to support them, so I have given them feedback on my pereicament

Disclaimer: Work at Hasura > "I can host it myself for $5 on DO with the same performance (for my usage)" Yeah for sure, I know what you're getting at. Though it's not really so much about performance (there is caching) -- There's a chunk of functionality that comes with Cloud/Enterprise. The majority of this has to do with metrics/observability and monitoring tools, or access-control tools for teams. If you check he…

Exactly! I really do think a tier is missing. I was very excited about hasura cloud when It came. My dream was to move all my hasura instances to the platform. However I could not defend spending $99/month on each weekend projects or small client work just to get my instances to europe (US = very high latency). Hopefully a ‘hobby-pro’ tier will come at some point :)

.. oh, and keep up the good work. I really do love the product!

Re: Next.js 12

#247

Earlier quoted context omitted.

For me it is because og the pricing model. Free or $99 I’d pay more to get eur datacenter, but not that much when I can host it myself for $5 on DO with the same performance (for my usage) Would gladly pay to support them, so I have given them feedback on my pereicament

Disclaimer: Work at Hasura > "I can host it myself for $5 on DO with the same performance (for my usage)" Yeah for sure, I know what you're getting at. Though it's not really so much about performance (there is caching) -- There's a chunk of functionality that comes with Cloud/Enterprise. The majority of this has to do with metrics/observability and monitoring tools, or access-control tools for teams. If you check he…

[deleted]

Re: Next.js 12

#248
post #122

I'm going to be downvoted to hell for this... but the more I see the level of complexity and amount of engineering going into this, the more I miss Rails and how simple things are there, given most of us are just building CRUD apps anyways.

I'm so done with CRUD work, it sucked the soul out of me

Re: Next.js 12

#249

Next.js reinvents so many things that already exist in PHP (also Python, Ruby). Check out for example what is already possible with Symfony in their docs[0]. Next.js "biggest" release just introduced middleware and html rendering with zero client-side js ! What people like in tools like next.js is not the framework itself but the abstraction over infrastructure, using platforms like vercel. Imagine a platform as chea…

Laravel Forge does exactly this and does it beautifully

Re: Next.js 12

#250
post #122

I'm going to be downvoted to hell for this... but the more I see the level of complexity and amount of engineering going into this, the more I miss Rails and how simple things are there, given most of us are just building CRUD apps anyways.

I keep thinking the same thing almost every day at work… “this is a CRUD app, who let it become this overly complex monster (multiple next apps)”. Then I remember why; “Simplicity is a great virtue but it requires hard work to achieve it and education to appreciate it. And to make matters worse: complexity sells better.” ― Edsger Wybe Dijkstra

I worked with Rails and prefer this. Rails is more complex it's just easier to use but harder to understand with all that dynamic magic.
Post reply on HN