I asked around the various LLM bots and Google searched.
Convex-adjacent question: Anyone have a guess as to how v0.dev works? I'm interested in a getting an AI response (of React/Tailwind code) and directly rendering it as a UI.
4 Replies
One blog post I saw suggested the dangerouslySetInnerHTML in React, but I imagine v0.dev is probably not using dangerouslySetInnerHTML
DEV Community
How to build: a v0.dev clone (Next.js, GPT4 & CopilotKit)
TL;DR In this article, you will learn how to build a clone of Vercel's V0.dev. This is an...
I'd think you want this: https://react.dev/reference/react-dom/client/createRoot
createRoot – React
The library for web and native user interfaces
Interesting, thanks Indy!