Frontory

Open code, practice, and notes →

Download source with English comments · for reading

Svelte · 28 Framework Comparison

Series contents · Technology map

Stage: Canvas Verification and Framework Comparison · Editable example · Storage ID: svelte-03

Goals and learning outcomes

Prerequisites

Unit 28 continues with the work and experiment records from Unit 27.

Key concepts and explanations

Comparing Execution Models

React render calculations, Vue reactivity, and Svelte compiled updates do not share the same internal model. Explain differences using code that implements the same UI contract and observed results.

Evidence and Preference

One experiment’s results are limited to its data and environment. Record measurements, verified lifetimes, and personal preferences separately.

Practice setup

Compile and run .svelte files in a separate Svelte 5 Vite project. Record package versions and the lockfile. Frontory’s Svelte preview uses actual writable stores and an explicit DOM adapter; it is not a .svelte compiler or a runes runner. The existing svelte-03 preview is a starting point. Implement the expanded work described here in a separate project.

The linked example is a starting point. It does not implement every task below. Complete work beyond its supported scope in a separate project.

Practice tasks

  1. Perform the same 10 operations on actual Svelte components in the external project and the React·Vue card implementations.
  2. In notes/final.md, tabulate state, derived value, subscription, and cleanup code, plus the results of returning to A/B drafts.
  3. Mark the built-in svelte-03 as a store adapter and submit items not run, failures, and measurement limitations together.

Variables to observe

VariableBaselineChangeExpected change / hypothesis
ImplementationReact·Vue·Svelte with identical functionalityChange only the frameworkThe output contract stays the same, while responsibilities in state and cleanup code differ.

Predictions in this table are not measured results. Change one condition at a time and record why the actual result differs.

Completion criteria

Self-check

  1. Which conditions prevent generalizing performance rankings?
  2. Can you separate evidence from preference when explaining which implementation felt easier for the same requirements, and why?

Official references

Linked example and execution scope

Example source · Runtime environments and limits

Source code and records are not overwritten automatically. Resetting an existing example also preserves your notes.

Next learning

Previous: Preparing a Three-Framework Comparison

Open code, practice, and notes →