As I keep playing around with Svelte, I keep being surprised how reactive it feels.

In this article, we’ll take a quick glance at the Svelte internals to see how Svelte accomplishes this under the hood.

This is important to know, because we can use this knowledge to unlock the potentials of Svelte in combination with RxJS, without all the overhead, to end up with a truly reactive architecture. When we have a better understanding of the internals, we’ll go through some examples to take a look at the possibilities.

A Svelte component

To take a look at the internals we need a small demo application, and for this article, we have a simple counter that increments after each second.

#svelte #rxjs

Unlocking reactivity with Svelte and RxJS
2.50 GEEK