0Pricing
Sveltejs Academy · Lesson

readable Stores and Custom Start Functions

Create read-only stores backed by timers, sensors, or external data sources.

Read-Only Stores

A readable store has only subscribe. Consumers cannot mutate it.

Import readable

Comes from svelte/store.

import { readable } from "svelte/store";

All lessons in this course

  1. Creating a writable Store
  2. Subscribing with $ Auto-subscription
  3. Updating Stores: set() and update()
  4. readable Stores and Custom Start Functions
← Back to Sveltejs Academy