rveciana - rxjs-and-svelte

RxJS and svelte

Open raw page in new tab

Learned in this tweet that Svelte and RxJS work together directly, which I found interesting.

I don’t want to forget it, so this example will help me.

Wired-elements make the example more attractive.

The base is the basic Svelte template. I just changed the App.svelte file and installed the libraries.

<!doctype html>
	<meta charset='utf8'>
	<meta name='viewport' content='width=device-width'>

	<title>Svelte test</title>

	<link rel='stylesheet' href='global.css'>
	<link rel='stylesheet' href='bundle.css'>

	<script src='bundle.js'></script>