Svelte Snippets: Reuse Markup Without a New Component
You have a card layout that appears twice in the same component: once wrapped in a link, once bare. The markup is identical apart from the wrapper. For years the Svelte answer was to extract Card.svel
grimicorn.hashnode.dev4 min read