8 Matching Annotations
  1. Jan 2021
  2. Sep 2020
    1. What I believe should happen is the Svelte compiler should, when a promise is passed to onMount, realise that a promise has been passed, and await the result of the function to be used as the onDestroy function. i.e, it should behave the exact same way for an async function as it does for a non-async function (if this is possible)
    1. The main rationale for this PR is that, in my hones opinion, Svelte needs a way to support style overrides in an intuitive and close to plain HTML/CSS way. What I regard as intuitive is: Looking at how customizing of styles is being done when applying a typical CSS component framework, and making that possible with Svelte.
  3. Jul 2020
    1. It’s even worse that there’s no alternative method that does the unsurprising thing IMO.
    2. The "unsurprising" thing here would generally be to maintain the order, for instance, and subtract the first or last instance...
    3. Code doing surprising and slightly nonsensical things... I'm weary now. And that's with ruby being more consistent than most!
  4. May 2020