a simple test to see how up to date and useful the models are for dealing with svelte 5
PROMPT
Make a simple client side todo app using svelte 5. Do everything client side, put everything in one component, use typescript, and make sure you use the new runes syntax for state. The user should be able to view their todos, make one as done, create a new done, and delete an old one. Style the component with tailwind, make it clean, pleasant to look at, and simple.
all results are in the src/results
folder
TL;DR: Grok 3 did the best, o3-mini outputted complete nonsense, the rest did ok
on:
syntaximport { let } from 'svelte/runes';
at the top for no reasonon:
syntaximport { createEventDispatcher } from 'svelte';
import for no reasonconst
on:
syntaximport { $state, $derived } from 'svelte';
(this does nothing and breaks the code)on:
syntaxon:
syntax