Tag: components
8 articles
- Your First Component
Learn the anatomy of a Svelte component file. Understand how script, markup, and styles work together in a single .svelte file.
- Props and Data Flow
Learn how to pass data between Svelte components using props. Understand the export keyword, default values, and one-way data flow.
- Event Handling
Handle DOM events and create custom component events in Svelte. Learn event modifiers, dispatching, and forwarding patterns.
- Slots and Composition
Build flexible, reusable components with Svelte slots. Learn default slots, named slots, slot props, and composition patterns.
- Component Lifecycle
Understand when Svelte components mount, update, and destroy. Master onMount, onDestroy, beforeUpdate, afterUpdate, and tick.
- Interacting with Programs from Svelte
Build Svelte components that interact with Solana programs - token balances, transfers, and real-time updates.
- Building a Pagination Component with Vue 3 and Pinia
A complete guide to building a reusable Vue 3 pagination component with Pinia state management and TypeScript, consuming paginated data from a Laravel API.
- Building a File Upload Component in Vue 3
Create a reusable file upload component in Vue 3 with TypeScript, progress tracking, and drag-and-drop support.