Observable State
Implement createSignal with get, set, and subscribe — the foundation of push-based reactivity.
How labs work
- Follow the steps in the task panel.
- Edit the highlighted file — usually
engine.js. - Watch the preview update as you type.
- Run tests when you think you are done.
- Open hints if you get stuck — they reveal one at a time.
Checkpoints
- ›Subscribers fire when set is called
- ›All Sandpack tests pass