Skip to main content
InterviewHubPRO
Section Overview
Q23

Question 23 of 50

Part 2: Core Architecture & Implementation (Mid-Level)

46%
Svelte & SvelteKit (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)

Migrating from Svelte 3/4 Writable Stores to Svelte 5 Universal Signals.

senior LevelMost AskedSignalsSSR & HydrationSystem Design

In Simple Words:

  • Legacy Store: Required $store auto-subscription syntax, subscribe() methods, and RxJS-like contract.
  • Svelte 5 Universal Signal: A plain JavaScript class with $state() properties. Can be passed anywhere and accessed directly with dot notation (store.count).