Welcome to the Liveblocks interactive tutorial! In this guide you’ll be learning how to get started with the Liveblocks React package, and further, how to build your collaborative app with Next.js.
Liveblocks is a real-time collaboration infrastructure for building performant collaborative experiences. Liveblocks is a fully integrated solution built around three core products, each enabling a different facet of collaborative experiences:
In combination with our REST APIs, webhooks, and schema validation, it’s possible to build an entire collaborative app on Liveblocks infrastructure.
This guide assumes you’re comfortable with React and have basic knowledge of Next.js and TypeScript.
Each page of this tutorial has been designed to highlight a different Liveblocks feature. Read the instructions in the text panel, then follow along by editing the code in the live editor. The results of your code are then displayed in the two preview windows.
If you get stuck, you can press the "I'm stuck, show solution" button to see the correct result, but don’t rely on it—you’ll learn more quickly by figuring the solution out for yourself.
Add the following code snippet to App.ts
in the editor:
export const ready = true;
Then press the button for the next page, "Connecting to Liveblocks".