7nik
7nik
Forbidding `duration` to be a function will make it nearly impossible to adjust the element moving speed depending on the distance, e.g. keep the same speed for any distance.
This is the result of the limitation of the new way of component rendering - creating all the elements in one go and extracting references to the elements. But when...
@R3D2 you forgot about ``/``. You cannot add text right to ``.
1. `??` will replace both `null` and `undefined` with the default value, while the default value at restructuring replaces only `undefined`. 2. The `as` operator does type casting with either...
The main limitation is not making a js/ts correct code but making such syntax that any third-party js/ts parser/tool will understand the source code as correctly as possible (with, unfortunately,...
@brunnerh the last one probably is the best one, considering all the trade-offs and extendability. But I think specifying the type on the variable would be more natural: ```ts let...
So, you propose to introduce a _new_ rune only to get rid of one line and one variable? It is not a common case, and I struggle to see the...
It doesn't matter, rune or subrune - it is one more thing to learn for users and one more thing to maintain for the dev team. Talking about the mental...
Should the same be done with the `error` event? I had a [case](https://github.com/7nik/neonmob-a/blob/master/src/lib/elements/Avatar.svelte#L22-L32) similar to #10352 where I needed to fallback third-party images.
The problem is that `value` is still maybe used on a checkbox, so you shouldn't bind to it: ```html ``` here, the form data will have `my-checkbox=yep` when checked. Without...