With Blitz, you can deploy your React application as a single entity and add advanced technologies on your terms and at your own pace

Creating a new React project requires a lot of configuration before you can start coding your application. That’s one of the major reasons why boilerplate libraries such as Create React App exist in the first place. But even with those libraries, there are still a lot of hoops jump through to build a complete web app.

For example, you have to determine what database you’ll use. And what about the server and backend? It’s enough to make you miss the old days of using Rails, where you just download the framework and everything was already there.

If you wish you could have a full-stack, database-backed structure while using React, you might want to check out Blitz.js, a new framework for building monolithic React applications.

A monolithic React framework

Blitz is a React framework that brings back the simplicity and convention of 2000s web frameworks like Rails and Laravel while still enabling you to write JSX syntax and render on the client side. It’s a great framework for small development teams that need to build and ship applications fast.

Let’s run down some of the main benefits of using Blitz.

  • You don’t need to build APIs for fetching data in client-side rendering
  • You can do client-side, server-side, and static page rendering from the same app
  • React concurrent mode is enabled by default
  • Includes CLI for code scaffolding, which is similar to how Rails can generate controllers and models
  • Fully supports TypeScript with static, end-to-end typing
  • Enables you to deploy serverless or serverful

The Blitz team also plans to add support for React Native and authentication in the future.

Just like Rails, Blitz is used for creating monolithic applications. This means you don’t have to create APIs just to fetch data from your server. You can create APIs later if you encounter third-party software that needs access to your system.

#react #web-development

A Beginner's Guide to Blitz.js
17.60 GEEK