This returned us to a developer experience similar to that of the traditional server-side rendered Rails approach. Because, with the traditional Rails workflow, there's no API, and so it's very simple and fast to develop, because you don't have that extra piece of architecture in your app.
And so that's what Blitz brings to React. It brings that same super-fast developer experience to React apps because you don't have to mess or think about REST or GraphQL. It just abstracts the whole thing away. And so this is a massive boost to productivity.
Also, Blitz is built on top of Next.js, the very well-loved framework at this point that is a hybrid framework and you can do so many things with it, but it's still pretty minimal and what it gives you out of the box. And so by doing this, Blitz effectively creates a custom distribution of Next.js, similar to a Linux distribution.
But surprise, just one month later on March 20th, there's another huge announcement about Redwood.js, yet another full-stack framework for React. And so Redwood is seeking to solve the same problems as Blitz, but it takes a totally different approach. Instead of abstracting the API away like Blitz does, Redwood keeps it and seeks to optimize it with a GraphQL layer and really nice integration between the front and the back end.
And the breakthroughs, in my mind, for Redwood, is that it gives you a developer experience similar to that of GraphQL or Hasura, but where you have the ability to customize the code because you have ownership over the stack. There's no dependency on a third party service. And so this is really, I believe, it's a refined version of that idea of GraphQL and Hasura, but in a much better package and a framework at this abstraction level.
And secondly, Redwood brings a monolithic developer experience similar to Blitz, but with Redwood, it's an optional monolithic deployment. So you can deploy them together as a monolith, or you can deploy them totally separate places if you so desire. And so just like that, all within about a month's time, all of a sudden we are launched into a new era for full stack react. This was a very exciting time.
So let's take a back, let's take a step back and look at Blitz and Redwood both, and look at what are the commonalities and try to understand where we're going with full stack react. Number one, both of these are full stack JavaScript and TypeScript. And so no longer do you have a separate language on your server versus your front end. And this is a very big point for me personally, and many others I know as well, that you get slowed down so much by having, say, Ruby on the back end and then JavaScript on the front end. And then additionally, you have the typing issue. you have full stack TypeScript, you can share code and types end-to-end and get end-to-end type safety. This is incredible. And it's hard. The benefit that it brings you to your productivity and debugging and all of that it's hard to overstate.
Secondly, both of these are batteries included frameworks like Rails and Laravel. And so this is awesome. You've had similar things in the JavaScript world, but not for React.
Comments