🚀Announcing Flightcontrol - Easily Deploy Blitz.js and Next.js to AWS 🚀
Back to Documentation Menu

Overview

Blitz "Zero-API" data layer (Blitz RPC) is focused on making the communication between server and client seamless. It lets you

import server code directly into your components instead of having to manually add API endpoints and do client-side fetching and caching.

Here's a quick overview:

Architecture diagram

Queries and mutations

Queries and mutations only run on the server — at build time, the direct function import is replaced with an RPC network call. So the query function code is never included in your client code. It's instead moved to an API layer.


Read more about the RPC plugin setup.


Idea for improving this page? Edit it on GitHub.