Skip to content
Agentic Levels
Start hereLevelsTracksPromptsAbout
Get my levelGet my level

  • Start hereYour first useful task with AI.
  • Level quiz8 questions. No AI needed.
  • Fluency ScoreYour Level and a score, from your own AI.

  • LevelsThe 11 levels, in order.
  • LessonsShort lessons, filter by level.
  • TracksGuided paths by tool, role or goal.
  • Set up your AI tool
  • Starter packFree files that help AI remember.

  • PromptsReady prompts to copy and adapt.
  • ChatGPT vs Claude vs GeminiPick the right one for the job.
  • How-tos
  • ReferenceCommands for Claude Code, Codex, Antigravity.
  • ResourcesHand-picked reading and tools.

  • Your progress
  • Your next moveAn interview that picks your next skill.
  • Your next lessonsThe next lessons at your level.
  • Updates

  • Pricing
  • About
  • FAQ & Feedback
  • Work with us
  • How we handle your data
Sign inPreferences
AboutPricingHow-tosPromptsStarter packMy stackHow we handle your data

© 2026 Fuentes Studio

PrivacyTermsRefundsAccessibilityAI content policyCredits
yourCouncil
Ready to help
✦

What do you want to understand?

Ask anything about what you're learning.

←Claude Fundamentals
  1. Tracks
  2. ›Claude Fundamentals: Module 3
  3. ›React Artifacts: when to use them (and when not to)
3

Level 3 · Lesson 23 of 50 · Free

React Artifacts: when to use them (and when not to)

The right choice for complex apps, overkill for simple ones

After this, you'll be able to recognize when a tool is complex enough to need a React Artifact. You'll decide when a simpler format is better, and ask for the right one instead of the fanciest option.

Before you start

Complete Mermaid Artifacts: flowcharts and diagrams from text first; this lesson builds on the full set of Artifact types you have now seen, because choosing React over a simpler format only makes sense once you know what the simpler formats can already do.

The idea

React Artifacts are the right pick when a tool gets too complex, and the wrong pick when a simpler format would do. They can manage state and user interactions, which is what makes the call worth learning.

Worked example

Before and after

Without this judgment, someone asks for "an advanced habit tracker with React" when they just want to tick off three habits, getting a heavier tool that is slow to tweak. With it, they describe the real job and, for a simple tool, ask for plain HTML so it stays quick to change.

("Managing state" means the app remembers things as you use it: which tab you are on, a list you keep adding to. React is built for apps with many moving parts that stay in sync, like a multi-step form, a project board, or a dashboard with linked filters.)

But fancier is not better. A tip calculator does not need React, and asking for it adds complexity with no payoff. Claude often reaches for React on its own (React Artifacts work on Free too, as of Nov 2026) for interactive tools, so the move that keeps you in control is the opposite of naming React: when a tool is simple, ask for a plain HTML Artifact (the kind from lesson 20) and say it does not need React.

In ChatGPT and Gemini: ChatGPT's code blocks preview React in the chat. Gemini's Canvas builds apps from a prompt and shows them in the side panel.

Now try it: send "I want a small task board where I add tasks, move them between To Do, Doing, and Done, and see a count for each column. Build it in whatever format fits, and tell me whether you used React and why." The "why" trains you to hear when complexity justifies the heavier tool.

Describe how complex the tool really is, and for a simple one ask for plain HTML; fancier is not better.

Try it (10 min)

Paste this into Claude

I want you to make two tools and explain your format choice for each, so I can learn when a tool needs React and when it does not.

Tool 1: A simple unit converter. I type a number of miles and it shows me the equivalent in kilometers. That is the whole tool.

Tool 2: A small task board. I can add a task, move each task between three columns (To Do, Doing, Done), and see a live count of how many tasks are in each column. The board should remember my tasks as I move them around during the session.

Build both. For each one, tell me in plain English which format you chose (a simple format or React), and why that tool did or did not need React to manage its moving parts.

What a good response looks like

Tool 1, the unit converter: I used a simple single-page format, not React. It has one input and one result. There is nothing to remember between actions, so React would only add weight. Type 26.2 miles and it shows 42.16 kilometers.

Tool 2, the task board: I used React. The board has to remember every task, which column it is in, and the three live counts, and keep them all in sync when you move a card. React is built for exactly that.

Example after adding "Order lunch", "Send invoice", and "Book flights", then moving "Send invoice" to Done: To Do: 2 Doing: 0 Done: 1

Rule of thumb: if the tool answers one question, keep it simple. If many parts must stay in step, ask for React.

Check yours against

  • Both tools were created and work in the Artifact panel
  • The unit converter correctly turns miles into kilometers
  • The task board lets you add tasks and move them between all three columns
  • The task board shows a live count per column that updates as you move tasks
  • Claude explained, in plain English, why the converter did not need React and the task board did
  • Asking for React by name on a simple tool because it sounds more capable; match the format to the job, not to the label
  • Assuming heavier always means better; a React tool can be slower to load and fussier to change for no benefit
  • Skipping the 'tell me why' instruction; the reasoning is what teaches you to judge complexity next time
  • Believing you must learn React yourself; you describe the complexity, Claude picks the format
  • Treating 'managing state' as jargon to fear; it just means the app remembers things as you use it

When this breaks

  • Breaks when you default to React for everything because the extra machinery adds load time and editing friction to simple tools, so a converter becomes harder to change than it ever needed to be.
  • Breaks when a genuinely stateful tool is forced into a too-simple format because it cannot keep its moving parts in sync, so a task board that should remember your columns loses track of them.

AI can help with this

Paste this into claude.ai, filling in the brackets: 'I want a tool that [describe the job, including anything it must remember as I use it]. Build it in whatever format fits best, and tell me in plain English whether you used React and why this tool did or did not need it.'

Try it from memory

Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading only feels like it does.

Without scrolling up, name two tools you might ask Claude to build. For each, say whether it needs React and what about its job decides that.

One good answer: 'A tile-area calculator: no, one input and one answer. A volunteer sign-up board where I add names and move them between days: yes, many parts that stay in sync.' If your answer turns on whether the tool must remember and sync things, that works.

Key takeaways

React Artifacts are for tools with many moving parts that must stay in sync. Fancier is not better; describe the real complexity and let Claude pick the format that fits.

  1. 1Reach for React only when a tool must remember and sync many moving parts, like a multi-step form or a board.
  2. 2Avoid React for simple tools; the extra weight adds load time and editing friction with no payoff.
  3. 3Describe the complexity of the job; when a tool is simple, ask for plain HTML instead of letting React be the default.
  4. 4Read 'managing state' as 'the app remembers things as you use it,' not as something to fear.
  5. 5Ask Claude why it chose a format; the reasoning trains your own judgment for next time.

Go deeper

  • Anthropic: What are Artifacts and how do I use themsupport.claude.com (opens in a new tab) ↗
Up nextIterating on Artifacts: how to refine, edit, and extend→

Was this helpful?

← Back to Claude Fundamentals