News for hackers. Stuff that matters.
Re:Fresh – Next-gen web framework by solardev on Sunday June 12, 2022 @11:44PM (#31720832)
I've heard really good things about Remix, especially the nested routes. But I think Next is trying to copy that in Layouts? https://nextjs.org/blog/layouts-rfc

I use Next not just for the routing and composition and hydration, but for all the other quality-of-life improvements (image resizing, buildchain configs, hot reload), especially when it's paired with Vercel (per-push sandbox builds, stale-while-revalidate, seamless CDN, access to serverless, etc.)

I'm really excited to see how Remix and other Next competitors evolve, but for now, I think it's still the most "full" stack of the React frameworks? Is that correct?

Re:Fresh – Next-gen web framework by steve_adams_86 on Monday June 13, 2022 @10:38AM (#31726271)
That’s correct about Layouts, and I agree, if you want something with all the quality of life tooling ready to go, Next seems to be the way to go.

It isn’t too hard to get the same/similar tooling outside of the vercel ecosystem, but it does take know how and a bit of extra time. It isn’t obviously worth it unless vercel isn’t meeting your needs in my opinion/experience.

I mostly play around with other frameworks in order to learn, but for any client where a frontend framework made sense I’d almost certainly choose Next.

Edit: people also get bent out of shape about perfect hydration and shaving milliseconds here and there, but like you mention, Next offers such a comprehensive solution in a situation where routing and hydration are only a part of the big picture. Next gets you really far without any effort up front, which is crazy. I really like it!

Re:Fresh – Next-gen web framework by likortera on Monday June 13, 2022 @03:28PM (#31730483)
It's funny to me to see how many people say Next is copying something about remix when the entire remix thing is a copy of Next.

Heck, I've heard in a podcadt they're even working on a hosting platform copying vercel.

Re:Fresh – Next-gen web framework by steve_adams_86 on Monday June 13, 2022 @10:08PM (#31734030)
For sure, Vercel was working on nested routes before Remix was a thing, as far as I know. A lot of people suggested it was lifted from Remix. It’s not a new idea at all and people have been asking for it for years.

Arguably there is nothing all that novel in either framework. We are constantly reiterating and rebuilding wheels, doing it a little better each time.

I’m glad to see the Remix take in things gaining steam though. It’s quite a bit less cognitive overhead than Next without any magical trade offs. Nothing ground breaking, but definitely better at things I care about.

Like most things, a blend of solutions would be ideal

Re:Fresh – Next-gen web framework by solardev on Tuesday June 14, 2022 @04:13PM (#31745421)
Eventually React is just going to become Angular3, lol
Re:Fresh – Next-gen web framework by solardev on Tuesday June 14, 2022 @04:11PM (#31745395)
All of tech is just people borrowing from each other. It's a good thing! I wish IP patents weren't a thing.
Re:Fresh – Next-gen web framework by ttty on Monday June 13, 2022 @12:31AM (#31721142)
Image resizing can’t be done statically. That’s a big issue if you want to serve things from cdn property.