gordonbrander / spellcaster

Reactive signals UI library
MIT License
58 stars 2 forks source link

Replace signals implementation with TC39 signals #43

Closed gordonbrander closed 4 months ago

gordonbrander commented 7 months ago

Fixes #39

This PR:

Background: It looks likely that reactive signals will become a language feature. TC39 signals are meant to be a lower-level primitive that is wrapped in a library. We're going to adopt signals by wrapping these low-level features in a higher-level API. The library API for Spellcaster will not change.

Using native signals has some significant advantages: