Svelte
✦ Ruta Oficial AppCloud👥 865.000 desarrolladores

Svelte

A Svelte cheat sheet with the most important concepts, functions, reactivity, and more. A complete quick reference for beginners, updated for Svelte 5.

🔍
Mostrando 31 tarjetas de referencia

Getting Started

5 ejemplos

#Basic Syntax

#Expressions

#Attributes

#Functions in Markup

#Conditional Rendering

Components

4 ejemplos

#Functional Component

#Embed an internal Component

#Embed an external Component

#Advanced Functional Components

Properties

2 ejemplos

#Passing Properties to a Component

#Assigning the Properties from a Component

State

1 ejemplo

#Local State

Events

1 ejemplo

#Event Listener

Loops

2 ejemplos

#Looping through an Array

#Looping through an Array of Objects

Forms

1 ejemplo

#Form Example

CSS

1 ejemplo

#Scoped CSS

Fetching Data

1 ejemplo

#Fetching Data with onMount

Lifecycle Hooks

4 ejemplos

#onMount

#beforeUpdate

#afterUpdate

#onDestroy

More Svelte Features

9 ejemplos

#Derived Store

#Readable Store

#Reactive Declarations

#Reactive Statements with Side Effects

#Bind to DOM Properties

#Bind Grouped Inputs (Radio, Checkbox)

#Class and Style Directives

#Await Blocks

#SSR with SvelteKit (Basic Example)

¿Listo para practicar con ?

Aplica esta sintaxis resolviendo desafíos interactivos con consola en vivo en nuestros 6 módulos de aprendizaje.

Ir al Desafío del Módulo 01 🚀Ver Plan de Estudio Completo