
- Updated
Learn a new framework using one you know
This prompt teaches a new framework, such as SvelteKit, through the one you already know, such as React. It compares structure, state, routing and data loading side by side and warns where old habits will trip you up.
Act as a senior developer who knows both [FRAMEWORK I KNOW, e.g. React] and [NEW FRAMEWORK, e.g. SvelteKit]. Teach me the new one by comparing it with the one I know. Cover project structure, components, state, routing, data loading, forms and deployment. For each, show a side-by-side code example and point out where my old habits will trip me up. Finish with a small project I can build in one weekend to practise.
Build the weekend project for real. Reading comparisons helps, but typing the code is what makes it stick.
Get a better result
A guided tour of the new framework set against the one you know, covering structure, components, state, routing, data loading, forms and deployment with side by side code, the habits that will trip you up, and a weekend project.
Learning by comparison is faster because you already have the mental model, you only need the differences. The prompt lists the same topics every web framework has to solve, so nothing important is skipped. The “where my old habits will trip me up” part is the most valuable section, because those mistakes are the ones tutorials for beginners never mention.
The examples use an older version of the new framework.
Fix: Name the version you will install and check the official docs for any API the AI shows, since new versions change fast.
- It explains concepts you already know well. Ask it to skip what works the same in both and spend the space on what is different.
- The weekend project is too big. Ask for a project with three screens at most, with a list of what to build on Saturday and what on Sunday.
Ask for a one page table mapping each idea in your old framework to the new one, to keep open while you code.
I started the weekend project and hit this error: [PASTE ERROR]. Explain it in terms of the framework I already know.
More chat & writing prompts
See all 465 →More like this
- Choose a tech stack for your projectClaude · ChatGPT · Gemini
- Build a React component from a descriptionClaude · ChatGPT · Gemini
- Break a project into small ticketsClaude · ChatGPT · Gemini
- Make confusing code easy to readClaude · ChatGPT · Gemini
- Write a README for your projectChatGPT · Gemini · Claude



