Simon Green
Simon Green
If it won't change, surely it makes little sense to make it `$state` _or_ `$derived`? The warning is that you're doing something a little 'odd' that may not be what...
try ```ts export class Foo { count = $state(0) constructor(initialCount: number) { this.count = initialCount } } ``` `count: number = $state()` is effectively `count: number = undefined`
Yeah, when you have two completely different UI implementations the easiest approach is to show one or the other based on the breakpoint, but you'd want to have the selected...
I think the existing `$bindable` is sufficient and the real issue behind this is with the code for the `$effect` _Many_ variations of this same question have been posted on...
It seemed like a continuation of all your other ones. Anyway, make it bindable and it works - I'm not sure what `$bindable` would be meant to do if bound...
It sounds like you need to clone or snapshot something somewhere along the line. Your description of what you want is a little hard to follow - it's unclear if...
You're still focused on one particular line of code, I'm saying to take a step back and properly describe what you're trying to achieve to know if that is even...
"take a step back _and properly describe what you're trying to achieve_". I think Discord would be better for this.
Something that only saves a single line of code is probably going to be considered low priority unless it would provide some very frequently used benefit which doesn't appear to...