Svelte на рівні Middle
Навички цього рівня у порядку навчання. Позначте знайомі на сторінці перевірки, щоб побачити свій рівень.
Middle · 6 навичок
-
Svelte Snippets and Composition
{#snippet} and {@render}, children and snippet props, generic components, svelte:element and error boundaries with svelte:boundary
-
SvelteKit Form Actions
Default and named form actions, server-side validation with fail, redirects, and progressive enhancement with use:enhance
-
SvelteKit Hooks and Server Routes
+server.ts API endpoints, the handle, handleFetch and handleError hooks, locals for sessions, cookies and environment variables
-
SvelteKit Rendering and Adapters
SSR, CSR and prerendering page options, static sites, adapters for Node, Vercel, Netlify and Cloudflare, and deployment
-
Svelte Actions and Attachments
Reusable element behaviour with use: actions and {@attach} attachments, and wrapping third-party DOM libraries
-
Testing Svelte Apps
Vitest with Testing Library or vitest-browser-svelte, testing rune-based logic in .svelte.test files, and testing load functions and actions