News for hackers. Stuff that matters.
Re:Zero-Bundle-Size React Server Components by hermitwriter on Monday December 21, 2020 @05:41PM (#25500552)
I don't know. I use next.js and love it. But I have to implement two static methods for every thing I want to fetch... This also locks me into next.js...
Re:Zero-Bundle-Size React Server Components by eyelidlessness on Monday December 21, 2020 @06:27PM (#25500996)
I’ve shopped around a lot and most projects targeting a similar featureset are generally adopting the Next.js APIs for server-side data fetching. So it’s probably not as bad in terms of lock-in as you’d expect.
Re:Zero-Bundle-Size React Server Components by xeon06 on Monday December 21, 2020 @11:50PM (#25502977)
I think more people should take a look at https://blitzjs.com. It makes your lock in problem slightly worse I suppose but only because it argues that you want most apps to be coupled like this in real life. In exchange, it gives you great developer experience around things like data fetching.
Re:Zero-Bundle-Size React Server Components by scsilver on Tuesday December 22, 2020 @04:10AM (#25504416)
Touched this about a half a year ago. Feels like rails for react. Very opinionated and interesting how prisma is used to set up the data schema.