Hacker News new | ask | show | jobs
by rxliuli 467 days ago
> Yes, but then you can just use a class.

Yes, but I immediately pointed out the oddities of the combination of class and runes below, which looks very strange and inconsistent.

> Despite all this, Svelte 5 introduces $writable

I don't know what this is.

1 comments

> I immediately pointed out the oddities of the combination of class and runes

True, and it is a bit weird, but you made it difficult to understand your point by talking about a function which creates and returns a class for some reason.

It took me a second to work out you were the author of the original article, rather than OP by the way, didn’t really understand properly for a moment.