Potentially pretty stupid question, I've never used any React framework like Next.js but I have used React for a while. Are these frameworks always meant to provide the backend as well? I'm using .NET as the backend, so I'm curious if they are something I should look closer at. I mean for SSR they have to run on the backend, but even that I could imagine running parallel to the main backend. I'm just not sure if you…
Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
71–80 of 123 posts
Re: Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
#72Could a smart person please compare and contrast this RFC and the ideas of remix.run?
According to Ryan Florence (Remix's creator) they are "ripping features straight from Remix". https://twitter.com/ryanflorence/status/1528859776930545665
A while ago he had a Twitter series “spot a React app” where he just shits on other peoples work.
Such an odd way to promote his work.
Re: Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
#73Next.js is very nice. One thing that always strikes a nerve with me though is that it goes against 12 factor. There is no proper way to build once, deploy (with config) multiple times. So either you have to build for each environment, which on kubernetes means building different container images (one for each environment). Or do a full re-build when the container starts, which means slower container startup, but at l…
Re: Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
#74Could a smart person please compare and contrast this RFC and the ideas of remix.run?
What sets Remix apart is how it handles network requests through its own wrapper, which anecdotally leads to incredibly simple data handling. Even cooler, if you restrict yourself to GET and POST, your app will work without JS. Nifty, if you ask me.
Re: Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
#75Potentially pretty stupid question, I've never used any React framework like Next.js but I have used React for a while. Are these frameworks always meant to provide the backend as well? I'm using .NET as the backend, so I'm curious if they are something I should look closer at. I mean for SSR they have to run on the backend, but even that I could imagine running parallel to the main backend. I'm just not sure if you…
> Are next.js and other similar React frameworks worth looking at if you don't use node.js on the backend? It depends on why you’re doing so. We’ve recently moved from a C# .net backend to a TypeScript node backend and in such a case it (well obviously) makes perfect sense to utilise next.js. In other cases where you split your front end and backend quite clearly, like using .net APIs and a JS front end it can make s…
Re: Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
#76Re: Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
#77Sell me next.js in a tweet sized paragraph. Why should I use next.js?
Re: Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
#78I like the way this works, it feels inspired by SvelteKit's __layout.svelte files and I think it's just very intuitive to work with. Edit: welp, seems i glanced over too quickly, it's literally written there: > The layout.js file convention was inspired by the work done in SvelteKit
Re: Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
#79Every time I hear any news about routing in a React framework I always get disappointed that the news isn't that they're introducing type-safe (TypeScript) routes to enable type-safe linking.
Re: Next.js Layouts RFC: Nested routes and layouts, designed for Server Components
#80Earlier quoted context omitted.
It's a full fledged company and somehow Ryan Florence and the other guy are quite heavy handed in pushing their business which irks me. Even react router was moved to a business org called react training if I remember so that they could sell their courses. Now there is nothing wrong with earning money but this new wave of "open source" businesses is a bit yucky.
theres a lot of cognitive dissonance in monetization of open source by consumers of the product. If you can't charge money for the software, selling courses is the next best thing. Why is it yucky?
Also using OSS as a funnel for your business and then use your training to hype up your OSS projects