Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> HTTP almost entirely falls away. No more REST. No more JSON. No GraphQL APIs, controllers, serializers, or resolvers

In React / Typescript world you can get a little bit of this with Blitz - but not the live updating part, as far as I know. I found there was quite a lot to learn, but I’d also been out of the React world for a couple of years. Probably getting up to speed with TS was half of it, and obviously that’s not due to Blitz.

It has felt quite magical thinking only about the DB and React, and so far it’s just worked.

“Blitz is a batteries-included framework that's inspired by Ruby on Rails, is built on Next.js, and features a "Zero-API" data layer abstraction that eliminates the need for REST/GraphQL.”

https://blitzjs.com/



You kind of still need to think about your queries though, especially when building more complicated stuff.

I do agree the batteries included part of Blitz makes it really pleasant to use if you need both front and backend.


> You kind of still need to think about your queries though, especially when building more complicated stuff.

I’m not sure I follow - are you talking about client-side invalidation, which you may have to do manually with functions like `invalidateQuery`? I can see that being a gotcha in more complex Blitz apps. https://blitzjs.com/docs/mutation-usage#cache-invalidation




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: