From 40468057d7cb7be8203b5ec9acf178339a80a362 Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Thu, 20 Feb 2025 21:53:05 -0500 Subject: Remove explanatory comment That no longer vitally pertains. --- ui/lib/store/channels.svelte.js | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'ui/lib') diff --git a/ui/lib/store/channels.svelte.js b/ui/lib/store/channels.svelte.js index 86d924e..31e9098 100644 --- a/ui/lib/store/channels.svelte.js +++ b/ui/lib/store/channels.svelte.js @@ -2,20 +2,6 @@ import { DateTime } from 'luxon'; import { get } from 'svelte/store' import { STORE_KEY_CHANNELS_DATA, EPOCH_STRING } from '$lib/constants'; -// # Why we don't have a Channel object -// -// For reasons unclear to me, a straight up class definition with a constructor -// doesn't seem to work, reactively. So we resort to this. -// -// Owen suggests that this sentence in the Svelte docs should make the reason -// clear: -// -// > If $state is used with an array or a simple object, the result is a deeply -// > reactive state proxy. -// -// Emphasis on "simple object". -// -// --Kit export class Channels { channels = $state([]); -- cgit v1.2.3