KevShe

Results 19 comments of KevShe

@PuruVJ Works again! All the other issues also seem to be eliminated. Thanks 🥰

There is not a single top-level element. You can have arbitrary elements on the top level. Which one will be selected by `:sope`?

Treating `bind:value` silently as `bind:checked` is not only more confusing than the original idea, its also limiting behaviour. Binding to a value on a checkbox may actually make sense from...

> It does not make sense because the input will never change it in response to user interaction, hence the error. Just to make that clear: You can definitely create...

> I was _only_ referring to ``, which is where the error is shown because that input does _not_ change its own value. @brunnerh That doesnt change the principle behind...

> You can Simply add one if Statement to solve this https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACm1P0U7EIBD8FYIm1aRanxGa-B3iQ0u3HpEuBOh5puHfDZTTPtwLYWdmZ2c2OmsDgbL3jeKwAGX0zTna0vjj8hDOYCLQlga7epURHpTXLvYSZTQQyXkwKxBBXl6vSF4lgjS4LiP45g9XJ1BfMIl5MAEKes-IshisgWdjPx-q4FEi7_6v4Han52IqhGiKZrSXJmUDrtGt-8UDRUaNE6tuhHS9xI2BCZAk1o2i2KOX5S2_qWo7PWd35AEMqKO46kp5bl3UFvu9Ju_qeKQiXOJNwg0hfFs_3SSvPQ4k7_Yo-XvyJaXErURK5InsqWhLFzvpWcNEWfQrpI_0C6H1NQbgAQAA > > ``` > > {#if type==='checkbox'} > > {:else} > > {/if} > ``` This is not...

@brunnerh Yes, I realized my misconception shortly after that. I must have confused myself during the conversation. Besides that, the initial point is still valid. I do understand that `bind:value`...

I think we need more community and maintainer input at this point 👍🏻

The line between helpful syntactic sugar and too much compiler magic is thin. I totally agree, having to use if-statements and livecycle hooks only to be sure that `window` is...

I like the idea as it would finally solve the problem that we cant have transitions on style changes, but I dont like the syntax. Inconsistent. Svelte uses the moustache...