Add Recipe Remix Cloud quickstart - #1023
Conversation
|
@zahlekhan is attempting to deploy a commit to the thesys-devs Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Ran this quickstart end to end on a fresh scaffold ( Final state (step 5: click "Cook from my pantry")
"Remix this" follow-up turn (also renders RecipeRemix)Clicking Issue: the step-4 component code throws 3 runtime TypeErrors mid-streamThe component is re-rendered on every streaming delta with partial props, so fields the zod schema marks required still arrive
The final render recovers and looks correct, but a reader following the doc gets a red Next.js error badge on their first turn. Suggest optional chaining in the snippet (matching the - {recipe.ingredients.map((ingredient) => (
+ {recipe.ingredients?.map((ingredient) => (
...
- {recipe.sourceUrl.startsWith("https://") && (
+ {recipe.sourceUrl?.startsWith("https://") && (Nit: step 2 removes Only |
Summary
Why
The quickstart now ends with a useful agent that demonstrates both ways users extend a Cloud starter: adding a server-side tool and adding a Generative UI component. The generated spec keeps the React component library on the client side and avoids Next.js React Server Component runtime failures.
Validation
@openuidev/cli@latestin a fresh published Cloud scaffoldnpm run typecheckin the scaffoldnpm run buildin the scaffold with Next.js 16.3.1