
Chris Nicholas
@ctnicholasdev
Followers
4K
Following
5K
Media
714
Statuses
3K
Developer experience @liveblocks • Interactive articles on https://t.co/alFrgXHV7f 🌱
🇬🇧
Joined July 2020
3️⃣ Sandpack by @codesandbox let's you set up a sandbox environment in the browser. I've set up a React environment here, and when the editor updates, it sends the code to Sandpack's preview window.
1
0
4
2️⃣ The editor is Monaco, built and used by @code. Import the React component and you have an advanced editor set up already. There's so much customisation you can add, it's excellent.
1
0
4
Here's how it works!. 1️⃣ The AI is using @liveblocks AI Copilots which provides a ready-made React AI chat for your app. I've added a tool that lets the AI generate React/Tailwind code and then updates the editor when it's done.
1
0
4
I've built my own v0 in just a couple hours!. • Monaco for the editor.• Sandpack for the preview.• Liveblocks for the <AiChat />. A wildly productive @nextjs stack.
4
2
29
In the video above, I'm using a tool added to @liveblocks pre-built AI React chat. The code looks like this, it lets the AI fill in a number of params, passes it to a search function, and returns the result. The JSON results are saved in the chat, and the AI uses it to respond.
1
0
1
RT @liveblocks: What's new in Liveblocks → June 2025. • Integrate ready-made AI chats into your React app with AI Copilots. • Add contextua….
0
1
0